Head
2026-01-28 13:06:33 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-01-28 13:06:33 [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-01-28 13:06:33 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-01-28 13:06:33 [auto_selling_autotrader.co.uk] INFO: _job: 266664ccfc3011f0a599c2c555c92d63, SCRAPY_JOB: None
2026-01-28 13:06:33 [scrapy.addons] INFO: Enabled addons:
[]
2026-01-28 13:06:34 [asyncio] DEBUG: Using selector: EpollSelector
2026-01-28 13:06:34 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-01-28 13:06:34 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-01-28 13:06:34 [scrapy.extensions.telnet] INFO: Telnet Password: 5b84856dac097ff6
2026-01-28 13:06:34 [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-01-28 13:06:34 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 3600,
'CONCURRENT_REQUESTS': 5,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/auto_selling_autotrader.co.uk/266664ccfc3011f0a599c2c555c92d63.log',
'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
'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-01-28 13:06:34 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 13:06:34 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 13:06:34 [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-01-28 13:06:34 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-01-28 13:06:34 [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-01-28 13:06:34 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-01-28 13:06:34 [scrapy.core.engine] INFO: Spider opened
2026-01-28 13:06:34 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-28 13:06:34 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-01-28 13:06:34 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-01-28 13:06:34 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-01-28 13:06:34 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6033
2026-01-28 13:06:34 [scrapy-playwright] INFO: Starting download handler
2026-01-28 13:06:34 [scrapy-playwright] INFO: Starting download handler
2026-01-28 13:06:39 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10014806 and multipost_profile_id: aa01d211-70e1-4ed8-8757-85a1fdc7e653 and job_id: 266664ccfc3011f0a599c2c555c92d63 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=SW5%200aj&retailerId=10014806&sort=price-asc
2026-01-28 13:06:39 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10014806, page: 1
2026-01-28 13:06:39 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 13:06:43 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2026-01-28 13:06:43 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-01-28 13:06:43 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 15
2026-01-28 13:06:43 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-28 13:06:43 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-28 13:06:43 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2009
2026-01-28 13:06:43 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-01-28 13:06:43 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-01-28 13:06:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:06: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%27202601289472935%27 HTTP/1.1" 200 None
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601289472935: 1
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601289472935, item: 202601289472935
2026-01-28 13:06:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:06: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%27202601289472926%27 HTTP/1.1" 200 None
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601289472926: 1
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601289472926, item: 202601289472926
2026-01-28 13:06:44 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 13:06:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:06: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%27202601279444198%27 HTTP/1.1" 200 None
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601279444198: 1
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601279444198, item: 202601279444198
2026-01-28 13:06:44 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 13:06:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:06: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%27202601279444189%27 HTTP/1.1" 200 None
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601279444189: 1
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601279444189, item: 202601279444189
2026-01-28 13:06:44 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 13:06:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:06: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%27202601249387863%27 HTTP/1.1" 200 None
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601249387863: 1
2026-01-28 13:06:44 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601249387863, item: 202601249387863
Tail
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202512128549664',
'listing': 'directbuy',
'location': 'Carshalton, Surrey',
'make': 'Land Rover',
'model': 'Discovery Sport',
'odometer': 63366,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 14,
'photo_urls': ['https://m.atcdn.co.uk/a/media/0a41e072324c4a70adbb953b9d575bb0.jpg',
'https://m.atcdn.co.uk/a/media/bfe8362be22b4b2585dc926a3b470611.jpg',
'https://m.atcdn.co.uk/a/media/3b0a94bb5da449ff845134343cf658e0.jpg',
'https://m.atcdn.co.uk/a/media/5027965853434f678098db25913bbe33.jpg',
'https://m.atcdn.co.uk/a/media/eab00193e3814ec3a0a98f8f3a051313.jpg',
'https://m.atcdn.co.uk/a/media/3d95ac3a37264d47b8f2aff269323b51.jpg',
'https://m.atcdn.co.uk/a/media/af968365390c4098a826a43722e0a873.jpg',
'https://m.atcdn.co.uk/a/media/b0deaab59c5a4028905943407e006241.jpg',
'https://m.atcdn.co.uk/a/media/2e492193efe84dad875936d1f123227e.jpg',
'https://m.atcdn.co.uk/a/media/f2881a145b1f478c945a7086bbf1deb3.jpg',
'https://m.atcdn.co.uk/a/media/32419676c9544e91a8b729baf6d6413f.jpg',
'https://m.atcdn.co.uk/a/media/a77d8935a8bd4b1388bd477e244623be.jpg',
'https://m.atcdn.co.uk/a/media/69aed2c3272f45dea6695617cf909871.jpg',
'https://m.atcdn.co.uk/a/media/c5402dd7f2484d9486bf3089dbf774a7.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 96582,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0a41e072324c4a70adbb953b9d575bb0.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 89029,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bfe8362be22b4b2585dc926a3b470611.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 83615,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3b0a94bb5da449ff845134343cf658e0.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 88918,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5027965853434f678098db25913bbe33.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 89287,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/eab00193e3814ec3a0a98f8f3a051313.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 61320,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3d95ac3a37264d47b8f2aff269323b51.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 73571,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/af968365390c4098a826a43722e0a873.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 67175,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b0deaab59c5a4028905943407e006241.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 90905,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2e492193efe84dad875936d1f123227e.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_f2ffd88b-5f55-5b63-b1ba-75e07ebd217b/f2ffd88b-5f55-5b63-b1ba-75e07ebd217b_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 74664,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f2881a145b1f478c945a7086bbf1deb3.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2/64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 37493,
'Height': 409,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/69aed2c3272f45dea6695617cf909871.jpg',
'Width': 1131},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2/64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 13178,
'Height': 321,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c5402dd7f2484d9486bf3089dbf774a7.jpg',
'Width': 340},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2/64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 59442,
'Height': 871,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a77d8935a8bd4b1388bd477e244623be.jpg',
'Width': 1170},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2/64078baa-5ae5-52aa-8eeb-1f3f9df3bdf2_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 53719,
'Height': 540,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/32419676c9544e91a8b729baf6d6413f.jpg',
'Width': 745}],
'price': 10800,
'price_includes_vat': True,
'registration_date': '2016-11-30',
'seats_number': 7,
'seller_name': None,
'title': 'Land Rover Discovery Sport 2.0 TD4 HSE Auto 4WD Euro 6 (s/s) 5dr',
'transmission': 'automatic',
'trim': 'HSE',
'year': 2016}
2026-01-28 13:10:17 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:10:17 [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%27202512128549664%27 HTTP/1.1" 200 None
2026-01-28 13:10:17 [auto_selling_autotrader.co.uk] INFO: Saving data for 202512128549664: {'created_time': 1769605817.62441, 'last_price_update_time': 1769605817.62442}
2026-01-28 13:10:17 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:10:17 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202512128549664') HTTP/1.1" 204 0
2026-01-28 13:10:17 [scrapy.core.engine] INFO: Closing spider (finished)
2026-01-28 13:10:17 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-01-28 13:10:17 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-01-28 13:10:17 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-28 13:10:17 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-28 13:10:17 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 266664ccfc3011f0a599c2c555c92d63
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-01-28 13:10:17 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-01-28 13:10:17 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 13:10:17 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 13:10:17 [azure.servicebus._pyamqp._transport] DEBUG: Transport endpoint is already disconnected: OSError(107, 'Transport endpoint is not connected')
2026-01-28 13:10:18 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-01-28 13:10:18 [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-01-28 13:10:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 13:10:18 [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%201768309818 HTTP/1.1" 200 None
2026-01-28 13:10:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511177949146') HTTP/1.1" 204 0
2026-01-28 13:10:18 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (15 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/266664ccfc3011f0a599c2c555c92d63.jl
2026-01-28 13:10:18 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 140802,
'downloader/request_count': 47,
'downloader/request_method_count/GET': 31,
'downloader/request_method_count/POST': 16,
'downloader/response_bytes': 3342740,
'downloader/response_count': 47,
'downloader/response_status_count/200': 47,
'elapsed_time_seconds': 224.101488,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 1, 28, 13, 10, 18, 333786, tzinfo=datetime.timezone.utc),
'item_scraped_count': 15,
'log_count/DEBUG': 973,
'log_count/INFO': 678,
'memusage/max': 156729344,
'memusage/startup': 126496768,
'photo_download_count': 31,
'request_depth_max': 2,
'response_received_count': 16,
'scheduler/dequeued': 47,
'scheduler/dequeued/memory': 47,
'scheduler/enqueued': 47,
'scheduler/enqueued/memory': 47,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 17,
'scrapy-zyte-api/error_ratio': 0.058823529411764705,
'scrapy-zyte-api/errors': 1,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 1,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 17.72463468904607,
'scrapy-zyte-api/mean_response_seconds': 17.74929627479287,
'scrapy-zyte-api/processed': 16,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 16,
'scrapy-zyte-api/request_args/experimental.requestCookies': 15,
'scrapy-zyte-api/request_args/experimental.responseCookies': 16,
'scrapy-zyte-api/request_args/httpRequestBody': 16,
'scrapy-zyte-api/request_args/httpRequestMethod': 16,
'scrapy-zyte-api/request_args/httpResponseBody': 16,
'scrapy-zyte-api/request_args/httpResponseHeaders': 16,
'scrapy-zyte-api/request_args/url': 16,
'scrapy-zyte-api/status_codes/0': 1,
'scrapy-zyte-api/status_codes/200': 16,
'scrapy-zyte-api/success': 16,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 1, 28, 13, 6, 34, 232298, tzinfo=datetime.timezone.utc)}
2026-01-28 13:10:18 [scrapy.core.engine] INFO: Spider closed (finished)
2026-01-28 13:10:18 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f5208926050>
2026-01-28 13:10:18 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f5208939c10>