a
Published: 2023-08-20 05:16:51

```python
"C:\Projects\Web projects\venv\Scripts\python.exe" "C:\Projects\Web projects\Trademe_MongoDB\For Show\one batch.py" 
INFO: 2023-08-20 09:07:47,751: Connected to MongoDB server  
INFO: 2023-08-20 09:07:53,439: box: 1, len: 500  
INFO: 2023-08-20 09:07:53,442: Scraping Success, return total_batches. box: 1, 500  
{'AdditionalData': {'BulletPoints': [], 'Tags': []},
 'Address': '603A Maunganui Road',
 'AdjacentSuburbIds': [431, 432, 504, 481],
 'AdjacentSuburbNames': ['Mount Maunganui', 'Omanu', 'Bayfair', 'Te Maunga'],
 'Agency': {'Agents': [{'FullName': 'Paige Smith',
                        'MembershipType': 2,
                        'OfficePhoneNumber': '(027) 3551476',
                        'Photo': 'https://trademe.tmcdn.co.nz/property/agent_profile/160x160/agent_individual_profile6253437v4.jpg',
                        'UrlSlug': 'Paige-Smith'},
                       {'FullName': 'Dee Gillard',
                        'MembershipType': 2,
                        'OfficePhoneNumber': '(021) 1737555',
                        'Photo': 'https://trademe.tmcdn.co.nz/property/agent_profile/160x160/agent_individual_profile6356755v4.jpg',
                        'UrlSlug': 'Dee-Gillard'}],
            'Branding': {'BackgroundColor': '#ffffff',
                         'LargeBannerURL': 'https://trademe.tmcdn.co.nz/tm/property/agent_logos/office_branding/7945776-office_branding-2.jpg',
                         'OfficeLocation': '',
                         'StrokeColor': '#ffffff',
                         'TextColor': '#000000'},
            'Id': 15318,
            'IsLicensedPropertyAgency': True,
            'IsRealEstateAgency': True,
            'Logo': 'https://trademe.tmcdn.co.nz/tm/property/agent_logos/7945776-2.jpg',
            'Logo2': 'https://trademe.tmcdn.co.nz/tm/property/agent_logos/7945776-2.logo2.jpg',
            'Name': 'Collab Realty Ltd, (Licensed: REAA 2008)',
            'PhoneNumber': '+64-7-3551476',
            'Website': 'http://www.collabrealty.co.nz'},
 'AgencyReference': 'RX3775811',
 'Area': 138,
 'AsAt': '/Date(1692508068584)/',
 'Bathrooms': 2,
 'Bedrooms': 3,
 'Category': '0350-5748-3399-',
 'CategoryPath': '/Trade-Me-Property/Residential/For-Sale',
 'District': 'Tauranga',
 'DistrictId': 23,
 'EndDate': '/Date(1697162758840)/',
 'GeographicLocation': {'Accuracy': 1,
                        'Easting': 1883469,
                        'Latitude': -37.6695398,
                        'Longitude': 176.2138743,
                        'Northing': 5825988},
 'HasGallery': True,
 'IsBold': True,
 'IsClassified': True,
 'IsFeatured': True,
 'IsHighlighted': True,
 'IsSuperFeatured': True,
 'LandArea': 304,
 'ListingExtras': ['premium_listing'],
 'ListingGroup': 'PROPERTY',
 'ListingId': 4280331591,
 'ListingLength': None,
 'Lounges': 1,
 'MemberId': 7945776,
 'NoteDate': '/Date(0)/',
 'OpenHomes': [],
 'Parking': '',
 'PhotoUrls': ['https://trademe.tmcdn.co.nz/photoserver/thumb/2063397889.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397894.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397903.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397907.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397912.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397916.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397924.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397929.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397939.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397961.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397965.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397976.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397999.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398008.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398013.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398017.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398022.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398024.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398028.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398032.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398037.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398054.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398061.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398066.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398073.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398075.jpg',
               'https://trademe.tmcdn.co.nz/photoserver/thumb/2063398078.jpg'],
 'PictureHref': 'https://trademe.tmcdn.co.nz/photoserver/thumb/2063397883.jpg',
 'PremiumPackageCode': 'PlatinumPackage',
 'PriceDisplay': 'Price by negotiation',
 'PropertyType': 'House',
 'RateableValue': 910000,
 'Region': 'Bay Of Plenty',
 'RegionId': 2,
 'ReserveState': 3,
 'StartDate': '/Date(1692248038840)/',
 'StartPrice': 0,
 'Suburb': 'Mount Maunganui',
 'SuburbId': 431,
 'Title': 'Elevate your Lifestyle'}
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000028995C98E50>
Traceback (most recent call last):
  File "C:\Users\acer\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\acer\AppData\Local\Programs\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\acer\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 751, in call_soon
    self._check_closed()
  File "C:\Users\acer\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Process finished with exit code 0


```