Head
2026-03-26 14:39:59 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-26 14:39:59 [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-26 14:39:59 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-03-26 14:39:59 [auto_selling_autotrader.co.uk] INFO: Quick mode enabled: batching detail requests in groups of 10
2026-03-26 14:39:59 [auto_selling_autotrader.co.uk] INFO: Limiting photo downloads to 1 per item
2026-03-26 14:39:59 [auto_selling_autotrader.co.uk] INFO: _job: a7f8eeb0292111f18f76c264925fbcfa, SCRAPY_JOB: None
2026-03-26 14:39:59 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-26 14:39:59 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-26 14:39:59 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-26 14:39:59 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-26 14:39:59 [scrapy.extensions.telnet] INFO: Telnet Password: ddaf8271ec14fae6
2026-03-26 14:39:59 [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-26 14:39:59 [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/a7f8eeb0292111f18f76c264925fbcfa.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-26 14:39:59 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-26 14:39:59 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-26 14:39:59 [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-26 14:39:59 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-26 14:39:59 [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-26 14:39:59 [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-26 14:39:59 [scrapy.core.engine] INFO: Spider opened
2026-03-26 14:39:59 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-26 14:39:59 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-03-26 14:39:59 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2-quickmode
2026-03-26 14:39:59 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-26 14:39:59 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2026-03-26 14:39:59 [scrapy.extensions.memusage] INFO: Peak memory usage is 140MiB
2026-03-26 14:39:59 [scrapy-playwright] INFO: Starting download handler
2026-03-26 14:39:59 [scrapy-playwright] INFO: Starting download handler
2026-03-26 14:40:04 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10029686 and multipost_profile_id: e3724921-a382-412a-8da1-167cd3b0592c and job_id: a7f8eeb0292111f18f76c264925fbcfa 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=MK17%200PP&retailerId=10029686&sort=price-asc
2026-03-26 14:40:04 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10029686, page: 1
2026-03-26 14:40:04 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-26 14:40:06 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 20
2026-03-26 14:40:06 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2117
2026-03-26 14:40:06 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603250988862%27 HTTP/1.1" 200 None
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603250988862: 1
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603230937962%27 HTTP/1.1" 200 None
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603230937962: 1
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603230923126%27 HTTP/1.1" 200 None
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603230923126: 1
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603230921979%27 HTTP/1.1" 200 None
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603230921979: 1
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603190829165%27 HTTP/1.1" 200 None
2026-03-26 14:40:06 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603190829165: 1
2026-03-26 14:40:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:06 [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%27202603140707755%27 HTTP/1.1" 200 None
Tail
2026-03-26 14:40:19 [common.azure_blobstore] INFO: Creating container client for top-deal-listing
2026-03-26 14:40:19 [common.azure_blobstore] INFO: Container_client: <azure.storage.blob._container_client.ContainerClient object at 0x7f2c108ee310>
2026-03-26 14:40:19 [common.azure_blobstore] INFO: Creating container if not exists
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxproduction.blob.core.windows.net:443 "PUT /top-deal-listing?restype=container HTTP/1.1" 409 230
2026-03-26 14:40:19 [common.azure_blobstore] INFO: Container already exists, skipping creation
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxproduction.blob.core.windows.net:443 "PUT /top-deal-listing/listing_1d2e54ce-82e6-5925-b97e-2541e2e2bde7/1d2e54ce-82e6-5925-b97e-2541e2e2bde7_image_0.jpg HTTP/1.1" 201 0
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:19 [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%252F8bcae8373a334e58a9bcd7ac44ddc178.jpg') HTTP/1.1" 204 0
2026-03-26 14:40:19 [crawlers.middlewares.photo_download_middleware] INFO: Image https://m.atcdn.co.uk/a/media/8bcae8373a334e58a9bcd7ac44ddc178.jpg saved to cache
2026-03-26 14:40:19 [crawlers.middlewares.photo_download_middleware] INFO: Downloaded image 0 for item 1d2e54ce-82e6-5925-b97e-2541e2e2bde7
2026-03-26 14:40:19 [crawlers.middlewares.photo_download_middleware] INFO: All photos downloaded for item 1d2e54ce-82e6-5925-b97e-2541e2e2bde7 sending to next pipeline
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: f8567a82-923e-50a0-999c-df2149b009a4 with identifier 202603060466392
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item f8567a82-923e-50a0-999c-df2149b009a4
2026-03-26 14:40:19 [scrapy.core.scraper] DEBUG: Scraped from <200 https://m.atcdn.co.uk/a/media/44f0f7fd9e9b4f3ba51928b66260873f.jpg>
{'auction_title': '',
'c_o_2_emission_value': 179,
'color': 'Silver',
'currency': 'GBP',
'description': 'Ford Focus 1.6 Zetec 3d with Low Mileage in very good '
'condition and comes with fresh service and fresh clean MOT. '
'Two months free warranty, Extended warranty is available. 12 '
'Months free AA roadside breakdown cover. ULEZ compliant. HPI '
'is clear. Parking sensors, spare wheel, Hill start assist, '
'AUX socket. Nationwide delivery service is available.',
'doors_number': 3,
'emission_standard': 'Euro 4',
'engine': '1.6L',
'engine_horse_power': 99,
'fuel_type': 'Petrol',
'id': 'f8567a82-923e-50a0-999c-df2149b009a4',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202603060466392',
'listing': 'directbuy',
'location': 'Nottingham, Nottinghamshire',
'make': 'Ford',
'model': 'Focus',
'odometer': 43050,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 37,
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f8567a82-923e-50a0-999c-df2149b009a4/f8567a82-923e-50a0-999c-df2149b009a4_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 84228,
'Height': 600,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/44f0f7fd9e9b4f3ba51928b66260873f.jpg',
'Width': 800}],
'price': 4990,
'price_includes_vat': True,
'registration_date': '2010-03-12',
'seats_number': 5,
'seller_name': None,
'title': 'Ford Focus 1.6 Zetec 3dr',
'transmission': 'automatic',
'trim': 'Zetec',
'year': 2010}
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:19 [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%27202603060466392%27 HTTP/1.1" 200 None
2026-03-26 14:40:19 [auto_selling_autotrader.co.uk] INFO: Saving data for 202603060466392: {'created_time': 1774536019.396076, 'last_price_update_time': 1774536019.396091}
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202603060466392') HTTP/1.1" 204 0
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: 1d2e54ce-82e6-5925-b97e-2541e2e2bde7 with identifier 202603040389359
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item 1d2e54ce-82e6-5925-b97e-2541e2e2bde7
2026-03-26 14:40:19 [scrapy.core.scraper] DEBUG: Scraped from <200 https://m.atcdn.co.uk/a/media/8bcae8373a334e58a9bcd7ac44ddc178.jpg>
{'auction_title': '',
'c_o_2_emission_value': 103,
'color': 'Black',
'currency': 'GBP',
'description': 'Nissan Qashqai 1.5 dCi n-tec 2WD Euro 6 (s/s) 5dr finished in '
'Nightshade black in excellent condition and comes with '
'service history ( 9 Stamps/ Majority were carried out by main '
'dealership), Timing belt and water pump were changed by main '
'dealership at 47019 Miles on 11/2023. Long clean MOT Till '
'12/11/2026. ULEZ Compliant. HPI is clear. £20 Road Tax. '
'Reverse camera with front and rear parking sensors, Around '
'View Monitor - 360 Bird-View, Cruise control, DAB Radio, '
'Bluetooth media streaming, SAT Nav, Hill start assist, '
'electrically folding mirrors. Two months free warranty, '
'Extended warranty is available. 12 Months free AA Roadside '
'breakdown cover. Finance option is available. Nationwide '
'delivery service is available.',
'doors_number': 5,
'emission_standard': 'Euro 6',
'engine': '1.5L',
'engine_horse_power': 108,
'fuel_type': 'Diesel',
'id': '1d2e54ce-82e6-5925-b97e-2541e2e2bde7',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202603040389359',
'listing': 'directbuy',
'location': 'Nottingham, Nottinghamshire',
'make': 'Nissan',
'model': 'Qashqai',
'odometer': 60400,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 45,
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d2e54ce-82e6-5925-b97e-2541e2e2bde7/1d2e54ce-82e6-5925-b97e-2541e2e2bde7_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 86982,
'Height': 600,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/8bcae8373a334e58a9bcd7ac44ddc178.jpg',
'Width': 800}],
'price': 7750,
'price_includes_vat': True,
'registration_date': '2015-09-30',
'seats_number': 5,
'seller_name': None,
'title': 'Nissan Qashqai 1.5 dCi n-tec 2WD Euro 6 (s/s) 5dr',
'transmission': 'manual',
'trim': 'n-tec',
'year': 2015}
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:19 [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%27202603040389359%27 HTTP/1.1" 200 None
2026-03-26 14:40:19 [auto_selling_autotrader.co.uk] INFO: Saving data for 202603040389359: {'created_time': 1774536019.442682, 'last_price_update_time': 1774536019.442697}
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202603040389359') HTTP/1.1" 204 0
2026-03-26 14:40:19 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-26 14:40:19 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-26 14:40:19 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item a7f8eeb0292111f18f76c264925fbcfa
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-26 14:40:19 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-26 14:40:19 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-26 14:40:19 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-26 14:40:19 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-26 14:40:19 [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-26 14:40:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-26 14:40:20 [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%201773240020 HTTP/1.1" 200 None
2026-03-26 14:40:20 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (20 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/a7f8eeb0292111f18f76c264925fbcfa.jl
2026-03-26 14:40:20 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 7,
'downloader/exception_type_count/scrapy.core.downloader.handlers.http11.TunnelError': 7,
'downloader/request_bytes': 159015,
'downloader/request_count': 23,
'downloader/request_method_count/GET': 20,
'downloader/request_method_count/POST': 3,
'downloader/response_bytes': 2367975,
'downloader/response_count': 16,
'downloader/response_status_count/200': 16,
'elapsed_time_seconds': 20.596743,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 26, 14, 40, 20, 442409, tzinfo=datetime.timezone.utc),
'item_scraped_count': 20,
'log_count/DEBUG': 344,
'log_count/INFO': 295,
'memusage/max': 147070976,
'memusage/startup': 147070976,
'photo_download_count': 13,
'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': 20,
'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': 4.897081126614163,
'scrapy-zyte-api/mean_response_seconds': 5.107967950093249,
'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, 26, 14, 39, 59, 845666, tzinfo=datetime.timezone.utc)}
2026-03-26 14:40:20 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-26 14:40:20 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f2c13d36ed0>
2026-03-26 14:40:20 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f2c13d376d0>