Head
2025-12-05 12:24:07 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:24:07 [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
2025-12-05 12:24:07 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:24:07 [auto_selling_autotrader.co.uk] INFO: _job: 3067ae8ed1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:24:07 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:24:07 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:24:07 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:24:07 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:24:07 [scrapy.extensions.telnet] INFO: Telnet Password: 8569bb7c822d1324
2025-12-05 12:24:07 [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']
2025-12-05 12:24:07 [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/3067ae8ed1c111f0b120928152083da5.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': ''}
2025-12-05 12:24:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:24:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:24:07 [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']
2025-12-05 12:24:07 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:24:07 [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']
2025-12-05 12:24:07 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2025-12-05 12:24:07 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:24:07 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:24:07 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:24:07 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:24:07 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:24:07 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2025-12-05 12:24:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:24:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:24:12 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10034903 and multipost_profile_id: 0c05b05f-642e-43ec-a1c6-f01e495468d9 and job_id: 3067ae8ed1c111f0b120928152083da5 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=10034903&sort=price-asc
2025-12-05 12:24:12 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10034903, page: 1
2025-12-05 12:24:12 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:25:07 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:25:23 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 24
2025-12-05 12:25:23 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1965
2025-12-05 12:25:23 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:25:23 [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%27202511298226294%27 HTTP/1.1" 200 None
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298226294: 1
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298226294, item: 202511298226294
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:25:23 [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%27202511258136013%27 HTTP/1.1" 200 None
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511258136013: 1
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511258136013, item: 202511258136013
2025-12-05 12:25:23 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:25:23 [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%27202511248107037%27 HTTP/1.1" 200 None
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511248107037: 1
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511248107037, item: 202511248107037
2025-12-05 12:25:23 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:25:23 [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%27202511218050286%27 HTTP/1.1" 200 None
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511218050286: 1
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511218050286, item: 202511218050286
2025-12-05 12:25:23 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:25:23 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:25:23 [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%27202511187981581%27 HTTP/1.1" 200 None
2025-12-05 12:25:23 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511187981581: 1
Tail
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec70a2ae-41d6-5c14-a3ff-431893e30195/ec70a2ae-41d6-5c14-a3ff-431893e30195_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 293480,
'Height': 1440,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/33ad8683ddfe4b1092a5dddcb1367511.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_546ddf5f-a36d-5785-8d07-7680c906d417/546ddf5f-a36d-5785-8d07-7680c906d417_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 152958,
'Height': 1440,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/08203f641b05465ab6c39526bd91d862.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 314088,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/09e3ab61c4f447eabf445212236e2901.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 355537,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3adfb2156af349769933cd40d3bd224b.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 161702,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1668cb66ee664e979b8601064449ec93.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 162592,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e7eb062b202349b48948ae050cd849f4.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 148218,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a48d679646034ba69d1d8a8ceb39879e.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 375105,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0cbae7ebd21a459abee7a8c49b0516e3.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 304475,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/20b6c4d634924e0fb902bf374522b6b6.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 296071,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c84a413f42b64166b9e4cf16faa22592.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 248085,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d6e078e36b0745168a69f8d6551c9f6b.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 401853,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/282c07a08cfa44979035f207971287d7.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 301638,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/45dc8259cf63410c888a6490bc418964.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 357423,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bee6dfa853d4469fb02e1d180567d8cc.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 134182,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d965df6ea3c24a2b91feeb7160631534.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 132596,
'Height': 1441,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/62cc05438e0e4837bd9f581338386fc7.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 388089,
'Height': 1440,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c5fb1c8d178d40a98844342cd3210a08.jpg',
'Width': 1920},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_5280a6bd-20de-51d1-8872-5df71fec6497/5280a6bd-20de-51d1-8872-5df71fec6497_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 235672,
'Height': 1440,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5ba8575a71484771b7afd0e71e8d6894.jpg',
'Width': 1920}],
'price': 24430,
'price_includes_vat': True,
'registration_date': '2019-09-30',
'seats_number': 5,
'seller_name': None,
'title': 'Mercedes-Benz 2.0 GLC 220 D 4Matic AMG Line Auto 4WD 5dr',
'transmission': 'automatic',
'trim': 'AMG Line',
'year': 2019}
2025-12-05 12:28:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:28:49 [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%27202510157173445%27 HTTP/1.1" 200 None
2025-12-05 12:28:49 [auto_selling_autotrader.co.uk] INFO: Saving data for 202510157173445: {'created_time': 1764937729.852628, 'last_price_update_time': 1764937729.852637}
2025-12-05 12:28:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:28:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202510157173445') HTTP/1.1" 204 0
2025-12-05 12:28:49 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:28:49 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:28:49 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:28:49 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:28:49 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:28:49 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 3067ae8ed1c111f0b120928152083da5
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:28:49 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:28:49 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:28:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:28:50 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:28:50 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 4, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 12:28:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:28:50 [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%201763641730 HTTP/1.1" 200 None
2025-12-05 12:28:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511057669958') HTTP/1.1" 204 0
2025-12-05 12:28:50 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (24 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/3067ae8ed1c111f0b120928152083da5.jl
2025-12-05 12:28:50 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 211622,
'downloader/request_count': 44,
'downloader/request_method_count/GET': 18,
'downloader/request_method_count/POST': 26,
'downloader/response_bytes': 5511484,
'downloader/response_count': 44,
'downloader/response_status_count/200': 44,
'elapsed_time_seconds': 283.106724,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 28, 50, 464762, tzinfo=datetime.timezone.utc),
'item_scraped_count': 24,
'log_count/DEBUG': 1430,
'log_count/INFO': 860,
'memusage/max': 154726400,
'memusage/startup': 127057920,
'photo_download_count': 18,
'request_depth_max': 3,
'response_received_count': 26,
'scheduler/dequeued': 44,
'scheduler/dequeued/memory': 44,
'scheduler/enqueued': 44,
'scheduler/enqueued/memory': 44,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 29,
'scrapy-zyte-api/error_ratio': 0.10344827586206896,
'scrapy-zyte-api/errors': 3,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 3,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 16.98531453551886,
'scrapy-zyte-api/mean_response_seconds': 17.031266448840213,
'scrapy-zyte-api/processed': 26,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 26,
'scrapy-zyte-api/request_args/experimental.requestCookies': 25,
'scrapy-zyte-api/request_args/experimental.responseCookies': 26,
'scrapy-zyte-api/request_args/httpRequestBody': 26,
'scrapy-zyte-api/request_args/httpRequestMethod': 26,
'scrapy-zyte-api/request_args/httpResponseBody': 26,
'scrapy-zyte-api/request_args/httpResponseHeaders': 26,
'scrapy-zyte-api/request_args/url': 26,
'scrapy-zyte-api/status_codes/0': 3,
'scrapy-zyte-api/status_codes/200': 26,
'scrapy-zyte-api/success': 26,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 24, 7, 358038, tzinfo=datetime.timezone.utc)}
2025-12-05 12:28:50 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:28:50 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1e5df349d0>
2025-12-05 12:28:50 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1e5df35210>