Head
2026-03-31 21:37:21 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-31 21:37:21 [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:37:21 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-03-31 21:37:21 [auto_selling_autotrader.co.uk] INFO: Quick mode enabled: batching detail requests in groups of 10
2026-03-31 21:37:21 [auto_selling_autotrader.co.uk] INFO: _job: 7ab4ce182ce811f19724def17024dec4, SCRAPY_JOB: None
2026-03-31 21:37:21 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-31 21:37:21 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-31 21:37:21 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-31 21:37:21 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-31 21:37:21 [scrapy.extensions.telnet] INFO: Telnet Password: 47b7a68c0dccc8fd
2026-03-31 21:37:21 [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:37:21 [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/7ab4ce182ce811f19724def17024dec4.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:37:21 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:37:21 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:37:21 [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:37:21 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-31 21:37:21 [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:37:21 [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:37:21 [scrapy.core.engine] INFO: Spider opened
2026-03-31 21:37:21 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-31 21:37:21 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-03-31 21:37:21 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-03-31 21:37:21 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-31 21:37:21 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2026-03-31 21:37:21 [scrapy.extensions.memusage] INFO: Peak memory usage is 142MiB
2026-03-31 21:37:21 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:37:21 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:37:26 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10013567 and multipost_profile_id: 6597bba5-2846-4fc6-b754-acb34c13b2dd and job_id: 7ab4ce182ce811f19724def17024dec4 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=10013567&sort=price-asc
2026-03-31 21:37:26 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10013567, page: 1
2026-03-31 21:37:26 [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:37:27 [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:37:27 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-03-31 21:37:27 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 25
2026-03-31 21:37:27 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-31 21:37:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2113
2026-03-31 21:37:28 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603311166432%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311166432: 1
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603311161029%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311161029: 1
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603311155602%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311155602: 1
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603271058704%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603271058704: 1
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603261039394%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603261039394: 1
2026-03-31 21:37:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:28 [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%27202603261032999%27 HTTP/1.1" 200 None
2026-03-31 21:37:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603261032999: 1
Tail
'• Sun Protection Glass \n'
'\n'
'TECHNOLOGY: \n'
'• BMW Live Cockpit Professional \n'
'• Navigation System \n'
'• Enhanced Bluetooth with Wireless Charging \n'
'• Drive Recorder \n'
'• HiFi Loudspeaker System \n'
'\n'
'DRIVER ASSISTANCE: \n'
'• Parking Assistant Plus \n'
'• Front & Rear Park Distance Control \n'
'• Active Guard Plus \n'
'• Cruise Control with Brake Function \n'
'• Speed Limit Display \n'
'\n'
'EXTERIOR & STYLING: \n'
'• M Aerodynamic Bodystyling \n'
'• M Sport Brakes – Blue Calipers \n'
'• High Gloss Shadowline Trim \n'
'• Adaptive LED Headlights \n'
'• Roof Rails – Black \n'
'\n'
'PRACTICALITY: \n'
'• Split Folding Rear Seats (40/20/40) \n'
'• Automatic Split Tailgate \n'
'• Generous Boot Space \n'
'• Multiple USB & 12V Sockets \n'
'• Charging Cables Included \n'
'\n'
'*PERSONALISED WALK AROUND VIDEO AVAILABLE* \n'
'Sent directly to your mobile device via text or email, just '
'call us on 01793 877477',
'doors_number': 5,
'emission_standard': 'Euro 6',
'engine': '3L',
'engine_horse_power': 389,
'fuel_type': 'Petrol Plug-in Hybrid',
'id': 'ac4e0602-b9d3-58a9-92ec-2dfb65d0de47',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202603240953532',
'listing': 'directbuy',
'location': 'Caen View, Swindon',
'make': 'BMW',
'model': 'X5',
'odometer': 50289,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 60,
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 277374,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2a7931f03f7340439221a99218097d35.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 287381,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2514ce9a0acb4a85a1aaaf9a99aa25d7.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_c648c1f4-a393-5d29-b7c1-4c5c83df19ac/c648c1f4-a393-5d29-b7c1-4c5c83df19ac_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 274732,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a9052a8d5a9f42b6a13dd544e604a514.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 225658,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/ed57b7dba50d42b283c07f2d4a8371b9.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 264252,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/90a5a309c2254cce93fa836e17f02287.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 325769,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1eee6f1bbf9d490c91ae83ff09c99c07.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 240299,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4cae54fb32fe4cd38f0317f947d1e2dc.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e752971d-b482-54b0-ba51-7567fda30754/e752971d-b482-54b0-ba51-7567fda30754_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 287540,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/98ee92a4c26a493495c2844cdf24b154.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 375024,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/786fc8bdc8bd433e84b5ceacd4a1b643.jpg',
'Width': 1800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ac4e0602-b9d3-58a9-92ec-2dfb65d0de47/ac4e0602-b9d3-58a9-92ec-2dfb65d0de47_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 352870,
'Height': 1200,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0637653b1f5d4d37aa7d338ac901c91d.jpg',
'Width': 1800}],
'price': 42495,
'price_includes_vat': True,
'registration_date': '2022-09-23',
'seats_number': 5,
'seller_name': None,
'title': 'BMW X5 3.0 45e 24kWh M Sport Auto xDrive Euro 6 (s/s) 5dr',
'transmission': 'automatic',
'trim': 'M Sport',
'year': 2022}
2026-03-31 21:37:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:44 [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%27202603240953532%27 HTTP/1.1" 200 None
2026-03-31 21:37:44 [auto_selling_autotrader.co.uk] INFO: Saving data for 202603240953532: {'created_time': 1774993064.150399, 'last_price_update_time': 1774993064.150407}
2026-03-31 21:37:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202603240953532') HTTP/1.1" 204 0
2026-03-31 21:37:44 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-31 21:37:44 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-31 21:37:44 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-31 21:37:44 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:37:44 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:37:44 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 7ab4ce182ce811f19724def17024dec4
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-31 21:37:44 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-31 21:37:44 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:37:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:37:44 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-31 21:37:44 [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:37:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:37:44 [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%201773697064 HTTP/1.1" 200 None
2026-03-31 21:37:45 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (25 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/7ab4ce182ce811f19724def17024dec4.jl
2026-03-31 21:37:45 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 221764,
'downloader/request_count': 56,
'downloader/request_method_count/GET': 51,
'downloader/request_method_count/POST': 5,
'downloader/response_bytes': 15588723,
'downloader/response_count': 56,
'downloader/response_status_count/200': 56,
'elapsed_time_seconds': 23.343746,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 31, 21, 37, 44, 936440, tzinfo=datetime.timezone.utc),
'item_scraped_count': 25,
'log_count/DEBUG': 1038,
'log_count/INFO': 786,
'memusage/max': 149491712,
'memusage/startup': 149491712,
'photo_download_count': 51,
'request_depth_max': 2,
'response_received_count': 5,
'scheduler/dequeued': 56,
'scheduler/dequeued/memory': 56,
'scheduler/enqueued': 56,
'scheduler/enqueued/memory': 56,
'scrape_type/new': 25,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 5,
'scrapy-zyte-api/error_ratio': 0.0,
'scrapy-zyte-api/errors': 0,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 2.786705683730543,
'scrapy-zyte-api/mean_response_seconds': 2.9718123213388026,
'scrapy-zyte-api/processed': 5,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 5,
'scrapy-zyte-api/request_args/experimental.requestCookies': 4,
'scrapy-zyte-api/request_args/experimental.responseCookies': 5,
'scrapy-zyte-api/request_args/httpRequestBody': 5,
'scrapy-zyte-api/request_args/httpRequestMethod': 5,
'scrapy-zyte-api/request_args/httpResponseBody': 5,
'scrapy-zyte-api/request_args/httpResponseHeaders': 5,
'scrapy-zyte-api/request_args/url': 5,
'scrapy-zyte-api/status_codes/200': 5,
'scrapy-zyte-api/success': 5,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 3, 31, 21, 37, 21, 592694, tzinfo=datetime.timezone.utc)}
2026-03-31 21:37:45 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-31 21:37:45 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f4acdedba90>
2026-03-31 21:37:45 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f4acdee4250>