Head
2026-03-31 21:27:46 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-31 21:27:46 [scrapy.utils.log] INFO: Versions: lxml 5.2.2.0, libxml2 2.12.6, cssselect 1.2.0, parsel 1.9.1, w3lib 2.1.2, Twisted 24.3.0, Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0], pyOpenSSL 24.1.0 (OpenSSL 3.2.1 30 Jan 2024), cryptography 42.0.7, Platform Linux-5.15.0-1098-azure-x86_64-with-glibc2.36
2026-03-31 21:27:46 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-03-31 21:27:46 [auto_selling_autotrader.co.uk] INFO: Quick mode enabled: batching detail requests in groups of 10
2026-03-31 21:27:46 [auto_selling_autotrader.co.uk] INFO: _job: 7a5399ae2ce811f19724def17024dec4, SCRAPY_JOB: None
2026-03-31 21:27:46 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-31 21:27:46 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-31 21:27:46 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-31 21:27:46 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-31 21:27:46 [scrapy.extensions.telnet] INFO: Telnet Password: 876062fffb1aca66
2026-03-31 21:27:46 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.memusage.MemoryUsage',
'scrapy.extensions.feedexport.FeedExporter',
'scrapy.extensions.logstats.LogStats',
'scrapy.extensions.closespider.CloseSpider']
2026-03-31 21:27:46 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 3600,
'DOWNLOAD_MAXSIZE': 52428800,
'DOWNLOAD_WARNSIZE': 10485760,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/auto_selling_autotrader.co.uk/7a5399ae2ce811f19724def17024dec4.log',
'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
'MEMUSAGE_LIMIT_MB': 2048,
'MEMUSAGE_WARNING_MB': 1536,
'NEWSPIDER_MODULE': 'spiders',
'REQUEST_FINGERPRINTER_CLASS': 'scrapy_zyte_api.ScrapyZyteAPIRequestFingerprinter',
'REQUEST_FINGERPRINTER_IMPLEMENTATION': '2.7',
'SPIDER_MODULES': ['spiders', 'auth_check'],
'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor',
'USER_AGENT': ''}
2026-03-31 21:27:46 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:27:46 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:27:46 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware',
'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'scrapy_zyte_api.ScrapyZyteAPIDownloaderMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2026-03-31 21:27:46 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-31 21:27:46 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware',
'crawlers.middlewares.photo_download_middleware.PhotoDownloadMiddleware',
'crawlers.auto_selling.middlewares.id_gen_middleware.IdGenMiddleware']
2026-03-31 21:27:46 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-03-31 21:27:46 [scrapy.core.engine] INFO: Spider opened
2026-03-31 21:27:46 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-31 21:27:46 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-03-31 21:27:46 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-03-31 21:27:46 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-31 21:27:46 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6024
2026-03-31 21:27:46 [scrapy.extensions.memusage] INFO: Peak memory usage is 142MiB
2026-03-31 21:27:46 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:27:46 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:27:51 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 19972 and multipost_profile_id: ca10a4ea-0336-41a3-8a60-36a05b36cd6d and job_id: 7a5399ae2ce811f19724def17024dec4 and url: https://www.autotrader.co.uk/cars/retailer/stock?advertising-location=at_cars&advertising-location=at_profile_cars&onesearchad=Used&onesearchad=Nearly%20New&onesearchad=New&postcode=OX3%209JY&retailerId=19972&sort=price-asc
2026-03-31 21:27:51 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 19972, page: 1
2026-03-31 21:27:51 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-31 21:27:52 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2026-03-31 21:27:52 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-03-31 21:27:52 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 18
2026-03-31 21:27:52 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-31 21:27:52 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2115
2026-03-31 21:27:53 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603311174806%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311174806: 1
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603311156002%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311156002: 1
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603190841191%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603190841191: 1
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603190823204%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603190823204: 1
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603170770605%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603170770605: 1
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603160726682%27 HTTP/1.1" 200 None
2026-03-31 21:27:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603160726682: 1
Tail
2026-03-31 21:28:02 [common.azure_blobstore] INFO: Container_client: <azure.storage.blob._container_client.ContainerClient object at 0x7fa6485c72d0>
2026-03-31 21:28:02 [common.azure_blobstore] INFO: Creating container if not exists
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxproduction.blob.core.windows.net:443 "PUT /top-deal-listing?restype=container HTTP/1.1" 409 230
2026-03-31 21:28:02 [common.azure_blobstore] INFO: Container already exists, skipping creation
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxproduction.blob.core.windows.net:443 "PUT /top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_7.jpg HTTP/1.1" 201 0
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /PhotoDownloadCache(PartitionKey='auto_selling_autotrader.co.uk',RowKey='https%3A%252F%252Fm.atcdn.co.uk%252Fa%252Fmedia%252F90f742fcbc1045099a2985fdd89c1a95.jpg') HTTP/1.1" 204 0
2026-03-31 21:28:02 [crawlers.middlewares.photo_download_middleware] INFO: Image https://m.atcdn.co.uk/a/media/90f742fcbc1045099a2985fdd89c1a95.jpg saved to cache
2026-03-31 21:28:02 [crawlers.middlewares.photo_download_middleware] INFO: Downloaded image 7 for item 3db95f65-91c6-5d24-b602-cc940b6b936c
2026-03-31 21:28:02 [crawlers.middlewares.photo_download_middleware] INFO: All photos downloaded for item 3db95f65-91c6-5d24-b602-cc940b6b936c sending to next pipeline
2026-03-31 21:28:02 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: 3db95f65-91c6-5d24-b602-cc940b6b936c with identifier 202603311156002
2026-03-31 21:28:02 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:28:02 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:28:02 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item 3db95f65-91c6-5d24-b602-cc940b6b936c
2026-03-31 21:28:02 [scrapy.core.scraper] DEBUG: Scraped from <200 https://m.atcdn.co.uk/a/media/90f742fcbc1045099a2985fdd89c1a95.jpg>
{'auction_title': '',
'c_o_2_emission_value': 108,
'color': 'White',
'currency': 'GBP',
'description': 'Vw Polo 1.0 Bluemotion Se 3 Dr Finished In A Pure White '
'Paintwork And Has A Grey Cloth Interior, Has Alloy Wheels, '
'Daytime Running Lights, Remote Central Locking With Two '
'Remote Keys, Air Conditioning, Front Seat Height Adjustment, '
'Electric Front Windows, Heated Rear Screen, Touch Screen '
'Radio With Bluetooth And Cd Player With Sd Card Slot In '
'Glovebox, Multifunctional Steering Wheel, 12v, USB And Aux '
'Socket In Centre Consol With Cup Holders, Electric Mirrors, '
'Spare Wheel,Comes With A Service History And Mot February '
'2027, Clean And Tidy Car Drives Well, 6 Months Parts And '
'Labour Warranty, Part Exchange Considerd,',
'doors_number': 3,
'emission_standard': 'Euro 6',
'engine': '1L',
'engine_horse_power': 74,
'fuel_type': 'Petrol',
'id': '3db95f65-91c6-5d24-b602-cc940b6b936c',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202603311156002',
'listing': 'directbuy',
'location': 'St. Ives, Cambridgeshire, Cambridgeshire',
'make': 'Volkswagen',
'model': 'Polo',
'odometer': 51623,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 26,
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 288310,
'Height': 1080,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fedebd1f110f470fac91302e3ae31d2c.jpg',
'Width': 1440},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 589602,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fc829fe6caec445fa8315f2d3417b936.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 595459,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bf10aa2c37384445aed1ec060f7474bd.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 551683,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/79a6543fd1bc4a00afc3ec9d2a9d036e.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 574196,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/567d520f33cf4efb86f15b555a1c48c9.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 574733,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6eb776681bfe4b4bab8ac0e74d56fc09.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 620402,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/33cc1aacb7a84a8b916552482585a7d7.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 571074,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/90f742fcbc1045099a2985fdd89c1a95.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 598529,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9d075ebd580b4e00a101863ab4fb7258.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_3db95f65-91c6-5d24-b602-cc940b6b936c/3db95f65-91c6-5d24-b602-cc940b6b936c_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 672546,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bc490196416e4d0cb1d3e238813b2058.jpg',
'Width': 2048}],
'price': 7995,
'price_includes_vat': True,
'registration_date': '2015-12-23',
'seats_number': 5,
'seller_name': None,
'title': 'Volkswagen Polo 1.0 BlueMotion Tech SE Euro 6 (s/s) 3dr',
'transmission': 'manual',
'trim': 'SE',
'year': 2015}
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27202603311156002%27 HTTP/1.1" 200 None
2026-03-31 21:28:02 [auto_selling_autotrader.co.uk] INFO: Saving data for 202603311156002: {'created_time': 1774992482.907257, 'last_price_update_time': 1774992482.907267}
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:28:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202603311156002') HTTP/1.1" 204 0
2026-03-31 21:28:02 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-31 21:28:02 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-31 21:28:02 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-31 21:28:02 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:28:02 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:28:02 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 7a5399ae2ce811f19724def17024dec4
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-31 21:28:02 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-31 21:28:02 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:28:02 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:28:03 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-31 21:28:03 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 0, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-03-31 21:28:03 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:28:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20last_price_update_time%20lt%201773696483 HTTP/1.1" 200 None
2026-03-31 21:28:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202510167202672') HTTP/1.1" 204 0
2026-03-31 21:28:04 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (18 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/7a5399ae2ce811f19724def17024dec4.jl
2026-03-31 21:28:04 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 1,
'downloader/exception_type_count/twisted.internet.error.ConnectError': 1,
'downloader/request_bytes': 143630,
'downloader/request_count': 23,
'downloader/request_method_count/GET': 20,
'downloader/request_method_count/POST': 3,
'downloader/response_bytes': 11720175,
'downloader/response_count': 22,
'downloader/response_status_count/200': 22,
'elapsed_time_seconds': 17.575389,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 31, 21, 28, 4, 114634, tzinfo=datetime.timezone.utc),
'item_scraped_count': 18,
'log_count/DEBUG': 669,
'log_count/INFO': 468,
'memusage/max': 149450752,
'memusage/startup': 149450752,
'photo_download_count': 19,
'request_depth_max': 2,
'response_received_count': 3,
'scheduler/dequeued': 23,
'scheduler/dequeued/memory': 23,
'scheduler/enqueued': 23,
'scheduler/enqueued/memory': 23,
'scrape_type/new': 18,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 3,
'scrapy-zyte-api/error_ratio': 0.0,
'scrapy-zyte-api/errors': 0,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 1.34423460966597,
'scrapy-zyte-api/mean_response_seconds': 1.9375105345000825,
'scrapy-zyte-api/processed': 3,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 3,
'scrapy-zyte-api/request_args/experimental.requestCookies': 2,
'scrapy-zyte-api/request_args/experimental.responseCookies': 3,
'scrapy-zyte-api/request_args/httpRequestBody': 3,
'scrapy-zyte-api/request_args/httpRequestMethod': 3,
'scrapy-zyte-api/request_args/httpResponseBody': 3,
'scrapy-zyte-api/request_args/httpResponseHeaders': 3,
'scrapy-zyte-api/request_args/url': 3,
'scrapy-zyte-api/status_codes/200': 3,
'scrapy-zyte-api/success': 3,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 3, 31, 21, 27, 46, 539245, tzinfo=datetime.timezone.utc)}
2026-03-31 21:28:04 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-31 21:28:04 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa64cf3f710>
2026-03-31 21:28:04 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fa64cf3ff90>