Head
2025-12-05 12:54:37 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:54:37 [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:54:37 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:54:37 [auto_selling_autotrader.co.uk] INFO: _job: 316bbe92d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:54:37 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:54:37 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:54:37 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:54:37 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:54:37 [scrapy.extensions.telnet] INFO: Telnet Password: 99d0981c293f708b
2025-12-05 12:54:37 [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:54:37 [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/316bbe92d1c111f0b120928152083da5.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:54:37 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:54:37 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:54:37 [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:54:37 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:54:37 [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:54:37 [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:54:37 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:54:37 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:54:37 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:54:37 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:54:37 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:54:37 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6026
2025-12-05 12:54:37 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:54:37 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:54:42 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10018112 and multipost_profile_id: eb4510f3-6102-4408-9307-615d32af07d7 and job_id: 316bbe92d1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?postcode=OX3%209JY&retailerId=10018112
2025-12-05 12:54:42 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10018112, page: 1
2025-12-05 12:54:42 [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:54:49 [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:54:49 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:54:49 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 36
2025-12-05 12:54:49 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:54:49 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:54:50 [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:54:50 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:54:50 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:54:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:54:50 [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%27202512048388884%27 HTTP/1.1" 200 None
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048388884: 1
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048388884, item: 202512048388884
2025-12-05 12:54:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:54:50 [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%27202511278177161%27 HTTP/1.1" 200 None
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278177161: 1
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278177161, item: 202511278177161
2025-12-05 12:54:50 [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:54:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:54:50 [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%27202511278173723%27 HTTP/1.1" 200 None
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278173723: 1
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278173723, item: 202511278173723
2025-12-05 12:54:50 [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:54:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:54:50 [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%27202511208026356%27 HTTP/1.1" 200 None
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511208026356: 1
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511208026356, item: 202511208026356
2025-12-05 12:54:50 [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:54:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:54:50 [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%27202511208022234%27 HTTP/1.1" 200 None
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511208022234: 1
2025-12-05 12:54:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511208022234, item: 202511208022234
Tail
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 127434,
'Height': 873,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/606cb0a397a04f39b24e5ed5f36da3be.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_0a746cac-91c0-5b62-ab02-7c9fb639b2bf/0a746cac-91c0-5b62-ab02-7c9fb639b2bf_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 28277,
'Height': 480,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4ed2f51520df4348b439dac07c0d690d.jpg',
'Width': 640},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 154519,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/7a9ad8ed5a3148c5a0dd8db601bec8ff.jpg',
'Width': 1219},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 139007,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/8907a5c888ee4a6aabba184f2db5c5da.jpg',
'Width': 1069},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 165138,
'Height': 989,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c4d41ae37a0543a79df3a67ad517afa0.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 142470,
'Height': 948,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/cd013a8245da4521b4afc6a0d16a1e72.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 146941,
'Height': 921,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/557cfbf77daf49e2806ffbc64ff18605.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 159270,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/101b5a36b8e74ab2a0a36c1244df4ef9.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 162360,
'Height': 959,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f717350071cf4070aec9de63a4d01db2.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 134270,
'Height': 837,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/146b4982d53c40d5a34ea15116143fa1.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 117496,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/80639e8054494294a2a748e43f9be4bc.jpg',
'Width': 1170},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 123141,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/23ea9ba7c7e845e4bbf250392c2cc9e7.jpg',
'Width': 1190},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 131435,
'Height': 876,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b04e488fca25449daf4522038fd36abc.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 131591,
'Height': 879,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/7c1d13a3ce814cc9b52a48180c6c52f4.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 129751,
'Height': 857,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/cf63210abbe740b880d989e37d6dfa4e.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 125519,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/512eed5a1fa741c1b32406825d594abe.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 158142,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/66e92e25134c4633a2c63d0fb7c09f97.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_ec13dbe0-0066-53c6-9b89-aac490972aab/ec13dbe0-0066-53c6-9b89-aac490972aab_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 278837,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b0c9e777a3b549039d04f39faa3393f1.jpg',
'Width': 1280}],
'price': 17984,
'price_includes_vat': True,
'registration_date': '2018-03-20',
'seats_number': 5,
'seller_name': None,
'title': 'BMW 5 SERIES 3.0 540i M Sport Saloon 4dr Petrol Auto xDrive Euro 6 '
'(s/s) (340 ps) HEATED SEATS-SENSORS-MEDIA+HISTORY',
'transmission': 'automatic',
'trim': 'M Sport',
'year': 2018}
2025-12-05 12:57:54 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12: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%27202508175508745%27 HTTP/1.1" 200 None
2025-12-05 12:57:54 [auto_selling_autotrader.co.uk] INFO: Saving data for 202508175508745: {'created_time': 1764939474.814033, 'last_price_update_time': 1764939474.81406}
2025-12-05 12:57:54 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:57:54 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202508175508745') HTTP/1.1" 204 0
2025-12-05 12:57:54 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:57:54 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:57:54 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:57:54 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:57:54 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:57:54 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 316bbe92d1c111f0b120928152083da5
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:57:54 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:57:54 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:57:54 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:57:55 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:57:55 [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:57:55 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:57:55 [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%201763643475 HTTP/1.1" 200 None
2025-12-05 12:57:55 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (36 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/316bbe92d1c111f0b120928152083da5.jl
2025-12-05 12:57:55 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 303698,
'downloader/request_count': 58,
'downloader/request_method_count/GET': 20,
'downloader/request_method_count/POST': 38,
'downloader/response_bytes': 5327422,
'downloader/response_count': 58,
'downloader/response_status_count/200': 58,
'elapsed_time_seconds': 198.140188,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 57, 55, 471748, tzinfo=datetime.timezone.utc),
'item_scraped_count': 36,
'log_count/DEBUG': 2066,
'log_count/INFO': 1199,
'memusage/max': 154243072,
'memusage/startup': 126656512,
'photo_download_count': 20,
'request_depth_max': 2,
'response_received_count': 38,
'scheduler/dequeued': 58,
'scheduler/dequeued/memory': 58,
'scheduler/enqueued': 58,
'scheduler/enqueued/memory': 58,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 40,
'scrapy-zyte-api/error_ratio': 0.05,
'scrapy-zyte-api/errors': 2,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 2,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 10.81671454431489,
'scrapy-zyte-api/mean_response_seconds': 10.88952201099662,
'scrapy-zyte-api/processed': 38,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 38,
'scrapy-zyte-api/request_args/experimental.requestCookies': 37,
'scrapy-zyte-api/request_args/experimental.responseCookies': 38,
'scrapy-zyte-api/request_args/httpRequestBody': 38,
'scrapy-zyte-api/request_args/httpRequestMethod': 38,
'scrapy-zyte-api/request_args/httpResponseBody': 38,
'scrapy-zyte-api/request_args/httpResponseHeaders': 38,
'scrapy-zyte-api/request_args/url': 38,
'scrapy-zyte-api/status_codes/0': 2,
'scrapy-zyte-api/status_codes/200': 38,
'scrapy-zyte-api/success': 38,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 54, 37, 331560, tzinfo=datetime.timezone.utc)}
2025-12-05 12:57:55 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:57:55 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f0f25928b90>
2025-12-05 12:57:55 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f0f25929410>