Head
2025-12-05 11:57:47 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 11:57:47 [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 11:57:47 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 11:57:47 [auto_selling_autotrader.co.uk] INFO: _job: 301675bed1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 11:57:47 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 11:57:47 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 11:57:47 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 11:57:47 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 11:57:47 [scrapy.extensions.telnet] INFO: Telnet Password: d07cbb0406d568f0
2025-12-05 11:57:47 [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 11:57:47 [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/301675bed1c111f0b120928152083da5.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 11:57:47 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 11:57:47 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 11:57:47 [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 11:57:47 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 11:57:47 [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 11:57:47 [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 11:57:47 [scrapy.core.engine] INFO: Spider opened
2025-12-05 11:57:47 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 11:57:47 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 11:57:47 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 11:57:47 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 11:57:47 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6033
2025-12-05 11:57:47 [scrapy-playwright] INFO: Starting download handler
2025-12-05 11:57:47 [scrapy-playwright] INFO: Starting download handler
2025-12-05 11:57:52 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10018424 and multipost_profile_id: 82a4d289-3ecf-431d-b4d6-34650af58ca6 and job_id: 301675bed1c111f0b120928152083da5 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=10018424&sort=price-asc
2025-12-05 11:57:52 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10018424, page: 1
2025-12-05 11:57:52 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:57:53 [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 11:57:53 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Page: 1/10, total results: 199
2025-12-05 11:57:53 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1973
2025-12-05 11:57:53 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:57:53 [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%27202512048375583%27 HTTP/1.1" 200 None
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048375583: 1
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048375583, item: 202512048375583
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:57:53 [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%27202512048358428%27 HTTP/1.1" 200 None
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048358428: 1
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048358428, item: 202512048358428
2025-12-05 11:57:53 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:57:53 [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%27202512048356584%27 HTTP/1.1" 200 None
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048356584: 1
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048356584, item: 202512048356584
2025-12-05 11:57:53 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:57:53 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:57:53 [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%27202512038327424%27 HTTP/1.1" 200 None
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512038327424: 1
2025-12-05 11:57:53 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512038327424, item: 202512038327424
2025-12-05 11:57:53 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:57:54 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:57:54 [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%27202512038327134%27 HTTP/1.1" 200 None
2025-12-05 11:57:54 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512038327134: 1
2025-12-05 11:57:54 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512038327134, item: 202512038327134
Tail
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 325413,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2487a79abc0440ac8b4c43ac957ff927.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 546920,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/81dd0c9dd82d4f45b07b93605e3f1211.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 505421,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9045bd70aa134bc5bb5b8703e5eb2939.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 465727,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/619c6fd883ed42e9925ba41d8feb2df3.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 519308,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a8a4c87d580f400c85d61c10e522f275.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 381647,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/554e66ca02c249df8937414f2ecc969b.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 554812,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/dad269ac4c514dd191b8947712b2ebab.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 416778,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c37667184c414ab78bfbeb4f13f5e4f5.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 655915,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4b1248b93cb044ec92b9fe04d0b0712c.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 514156,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bd027f65984240f2bad6f10b8a9046d4.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 488225,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9d37b75528104f6dab5e6588ca7b6b86.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 461544,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/61ccee52d1ef4c7da511ebd806efefe8.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 493170,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e46a942f18c2446981400170a525642f.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 526632,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6a96170c8d9e43f88f2d5c076dd11d6d.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 524285,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/689a67a4e85a496095da5b0e20bbc135.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 577936,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b21269fea77d4eafbb90390917a3b13d.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 450524,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/778a6406d7d84f5badbafc4007c63a73.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_939e33ec-660b-59e3-bc30-e43c389325ef/939e33ec-660b-59e3-bc30-e43c389325ef_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 562393,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/38779e447d9b441c93bcc725c36bba4e.jpg',
'Width': 2048}],
'price': 13000,
'price_includes_vat': True,
'registration_date': '2016-04-14',
'seats_number': 4,
'seller_name': None,
'title': 'BMW 4 Series 3.0 435d M Sport Auto xDrive Euro 6 (s/s) 2dr',
'transmission': 'automatic',
'trim': 'M Sport',
'year': 2016}
2025-12-05 12:33:07 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:33:07 [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%27202512038317261%27 HTTP/1.1" 200 None
2025-12-05 12:33:07 [auto_selling_autotrader.co.uk] INFO: Saving data for 202512038317261: {'created_time': 1764937987.949816, 'last_price_update_time': 1764937987.949826}
2025-12-05 12:33:07 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:33:07 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202512038317261') HTTP/1.1" 204 0
2025-12-05 12:33:07 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:33:07 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:33:07 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:33:07 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:33:07 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:33:07 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 301675bed1c111f0b120928152083da5
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:33:07 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:33:07 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:33:07 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:33:08 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:33:08 [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:33:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:33:09 [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%201763641989 HTTP/1.1" 200 None
2025-12-05 12:33:09 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (198 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/301675bed1c111f0b120928152083da5.jl
2025-12-05 12:33:09 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 1633181,
'downloader/request_count': 268,
'downloader/request_method_count/GET': 60,
'downloader/request_method_count/POST': 208,
'downloader/response_bytes': 26493495,
'downloader/response_count': 268,
'downloader/response_status_count/200': 268,
'elapsed_time_seconds': 2121.827223,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 33, 9, 178470, tzinfo=datetime.timezone.utc),
'item_scraped_count': 198,
'log_count/DEBUG': 10973,
'log_count/INFO': 5943,
'memusage/max': 161873920,
'memusage/startup': 126980096,
'photo_download_count': 60,
'request_depth_max': 10,
'response_received_count': 208,
'scheduler/dequeued': 268,
'scheduler/dequeued/memory': 268,
'scheduler/enqueued': 268,
'scheduler/enqueued/memory': 268,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 262,
'scrapy-zyte-api/error_ratio': 0.20610687022900764,
'scrapy-zyte-api/errors': 54,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 54,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 13.46861614662619,
'scrapy-zyte-api/mean_response_seconds': 13.518996325551536,
'scrapy-zyte-api/processed': 208,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 208,
'scrapy-zyte-api/request_args/experimental.requestCookies': 202,
'scrapy-zyte-api/request_args/experimental.responseCookies': 208,
'scrapy-zyte-api/request_args/httpRequestBody': 208,
'scrapy-zyte-api/request_args/httpRequestMethod': 208,
'scrapy-zyte-api/request_args/httpResponseBody': 208,
'scrapy-zyte-api/request_args/httpResponseHeaders': 208,
'scrapy-zyte-api/request_args/url': 208,
'scrapy-zyte-api/status_codes/0': 54,
'scrapy-zyte-api/status_codes/200': 208,
'scrapy-zyte-api/success': 208,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 11, 57, 47, 351247, tzinfo=datetime.timezone.utc)}
2025-12-05 12:33:09 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:33:09 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f7232528a50>
2025-12-05 12:33:09 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f7232529290>