Head
2025-12-05 12:33:11 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:33:11 [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:33:11 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:33:11 [auto_selling_autotrader.co.uk] INFO: _job: 30831688d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:33:11 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:33:12 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:33:12 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:33:12 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:33:12 [scrapy.extensions.telnet] INFO: Telnet Password: 53890231baeaea40
2025-12-05 12:33:12 [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:33:12 [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/30831688d1c111f0b120928152083da5.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:33:12 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:33:12 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:33:12 [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:33:12 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:33:12 [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:33:12 [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:33:12 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:33:12 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:33:12 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:33:12 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:33:12 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:33:12 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6033
2025-12-05 12:33:12 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:33:12 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:33:17 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10011134 and multipost_profile_id: 9e88782c-78cd-47d8-910a-09378d9e9eea and job_id: 30831688d1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?postcode=OX3%209JY&retailerId=10011134
2025-12-05 12:33:17 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10011134, page: 1
2025-12-05 12:33:17 [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:34:12 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:35:12 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:35:27 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 130.709(s), this was the 1st time calling it.
2025-12-05 12:35:27 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.903497102694784 seconds as it raised ClientConnectorError: Cannot connect to host api.zyte.com:443 ssl:default [Connect call failed ('69.41.180.81', 443)].
2025-12-05 12:35:34 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2025-12-05 12:35:36 [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:35:36 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 18
2025-12-05 12:35:36 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:35:36 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:35:36 [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:35:36 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:35:36 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:35:36 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:35:36 [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%27202512028294305%27 HTTP/1.1" 200 None
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512028294305: 1
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512028294305, item: 202512028294305
2025-12-05 12:35:36 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:35:36 [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%27202512028289410%27 HTTP/1.1" 200 None
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512028289410: 1
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512028289410, item: 202512028289410
2025-12-05 12:35:36 [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:35:36 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:35:36 [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%27202511278183372%27 HTTP/1.1" 200 None
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278183372: 1
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278183372, item: 202511278183372
2025-12-05 12:35:36 [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:35:36 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:35:36 [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%27202511278180390%27 HTTP/1.1" 200 None
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278180390: 1
2025-12-05 12:35:36 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278180390, item: 202511278180390
Tail
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6c9000ccc788445899f3af3b0188d72c.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 178713,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d63a12064e9e4b839fdd480f790d9bdf.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 188014,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/45e788aa9ed94074839d16efcb7d1671.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 186299,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fe90d90723f24d6ba709a0060907e9de.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 186408,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/8fe124a23214404ca76f6ea4e3b511ab.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 184859,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f8ad48932249486e90f32f701dbb7fbd.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 190110,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/05b6cdae8a604e1eae8a29c4001393a7.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 190053,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c091dcba7b88433c882e391501f0c59f.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 205239,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/36a10fb187be46a0b595fdbbccbff375.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 213587,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/94850449290e4b81833e1084a38d0d43.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 184190,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/70d1899dfc3d4835a2720f3988d0492d.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 176345,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4d0a81674fd54368b586d444fc2de301.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 187600,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/50659a24b1464074aced24e11c6e824d.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 180231,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/edf19d032d9c4e88a31d81aef9d6151c.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 199934,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/afc5812d02944561919f6e48f6926c67.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 180706,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a334fe4921314efe85fff3636817ef39.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 160864,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9bac4c136e4c435990e463e0f50f0c37.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 156225,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9b99ee01a4b947dc89971714b2d9be04.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_229d75a8-f199-5598-a581-8bd4c7db8bb7/229d75a8-f199-5598-a581-8bd4c7db8bb7_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 183290,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3987f77ab118437abccee09fe87b8925.jpg',
'Width': 1280}],
'price': 6995,
'price_includes_vat': True,
'registration_date': '2016-09-01',
'seats_number': 5,
'seller_name': None,
'title': 'Audi A1 1.4 TFSI Sport Sportback 5dr Petrol Manual Euro 6 (s/s) '
'(125 ps)',
'transmission': 'manual',
'trim': 'Sport',
'year': 2016}
2025-12-05 12:43:38 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:43:38 [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%27202511278183372%27 HTTP/1.1" 200 None
2025-12-05 12:43:38 [auto_selling_autotrader.co.uk] INFO: Saving data for 202511278183372: {'created_time': 1764938618.856751, 'last_price_update_time': 1764938618.856759}
2025-12-05 12:43:38 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:43:38 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511278183372') HTTP/1.1" 204 0
2025-12-05 12:43:38 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:43:38 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:43:38 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:43:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:43:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:43:38 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 30831688d1c111f0b120928152083da5
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:43:38 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:43:38 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:43:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:43:39 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:43:39 [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}
2025-12-05 12:43:40 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:43:40 [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%201763642620 HTTP/1.1" 200 None
2025-12-05 12:43:40 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (18 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/30831688d1c111f0b120928152083da5.jl
2025-12-05 12:43:40 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 145890,
'downloader/request_count': 19,
'downloader/request_method_count/POST': 19,
'downloader/response_bytes': 931271,
'downloader/response_count': 19,
'downloader/response_status_count/200': 19,
'elapsed_time_seconds': 628.141236,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 43, 40, 424488, tzinfo=datetime.timezone.utc),
'item_scraped_count': 18,
'log_count/DEBUG': 811,
'log_count/INFO': 462,
'memusage/max': 148762624,
'memusage/startup': 126513152,
'request_depth_max': 1,
'response_received_count': 19,
'scheduler/dequeued': 19,
'scheduler/dequeued/memory': 19,
'scheduler/enqueued': 19,
'scheduler/enqueued/memory': 19,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 31,
'scrapy-zyte-api/error_ratio': 0.3870967741935484,
'scrapy-zyte-api/errors': 12,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 12,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 19.14096461767086,
'scrapy-zyte-api/mean_response_seconds': 19.181254735308404,
'scrapy-zyte-api/processed': 19,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 19,
'scrapy-zyte-api/request_args/experimental.requestCookies': 18,
'scrapy-zyte-api/request_args/experimental.responseCookies': 19,
'scrapy-zyte-api/request_args/httpRequestBody': 19,
'scrapy-zyte-api/request_args/httpRequestMethod': 19,
'scrapy-zyte-api/request_args/httpResponseBody': 19,
'scrapy-zyte-api/request_args/httpResponseHeaders': 19,
'scrapy-zyte-api/request_args/url': 19,
'scrapy-zyte-api/status_codes/0': 12,
'scrapy-zyte-api/status_codes/200': 19,
'scrapy-zyte-api/success': 19,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 33, 12, 283252, tzinfo=datetime.timezone.utc)}
2025-12-05 12:43:40 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:43:40 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9a1c54ca10>
2025-12-05 12:43:40 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9a1c54d190>