Head
2025-12-05 12:55:11 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:55: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:55:11 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:55:11 [auto_selling_autotrader.co.uk] INFO: _job: 3173c74ad1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:55:11 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:55:12 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:55:12 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:55:12 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:55:12 [scrapy.extensions.telnet] INFO: Telnet Password: 0457592c137c7642
2025-12-05 12:55: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:55: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/3173c74ad1c111f0b120928152083da5.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:55:12 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:55:12 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:55: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:55:12 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:55: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:55: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:55:12 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:55: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:55:12 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:55:12 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:55:12 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:55:12 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6024
2025-12-05 12:55:12 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:55:12 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:55:17 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 174995 and multipost_profile_id: 95d8ed44-b3cc-4e4a-ba55-4c0e4f62ac79 and job_id: 3173c74ad1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?advertising-location=at_cars&advertising-location=at_profile_cars&postcode=OX3+9JY&retailerId=174995&sort=desirability-desc&page=2
2025-12-05 12:55:17 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 174995, page: 1
2025-12-05 12:55: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:55:34 [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:55:34 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 20
2025-12-05 12:55:34 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:55:34 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:55:34 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1969
2025-12-05 12:55:34 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:55:34 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:55:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:34 [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%27202511248098188%27 HTTP/1.1" 200 None
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511248098188: 1
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511248098188, item: 202511248098188
2025-12-05 12:55:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:34 [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%27202511187975200%27 HTTP/1.1" 200 None
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511187975200: 1
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511187975200, item: 202511187975200
2025-12-05 12:55:34 [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:55:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:34 [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%27202511117803253%27 HTTP/1.1" 200 None
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511117803253: 1
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511117803253, item: 202511117803253
2025-12-05 12:55:34 [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:55:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:34 [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%27202511077733294%27 HTTP/1.1" 200 None
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511077733294: 1
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511077733294, item: 202511077733294
2025-12-05 12:55:34 [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:55:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:34 [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%27202510207293617%27 HTTP/1.1" 200 None
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202510207293617: 1
2025-12-05 12:55:34 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202510207293617, item: 202510207293617
Tail
'Height': 1447,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/06b283d2fc6b4d489cad0ae5d77cdb13.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 462104,
'Height': 1398,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c0fc859c6b2c40ad80a3b5f734660887.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 468703,
'Height': 1328,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/954e1f0f84574128885cde6aa03403e6.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 476719,
'Height': 1338,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0a4083f570004954b76b62624471b7e2.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 513184,
'Height': 1337,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9fc7c95e88c242d3b15cb4ad60bd49f2.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 498833,
'Height': 1319,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/84faaf774b4b403f9987fc14df6b2c8a.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 498076,
'Height': 1346,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5af2acacbbbf4a72ae28ef96c2cf9322.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 558616,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e42f8dbed6b946e69d7f07be6b8d7b88.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 525087,
'Height': 1333,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/7dcf7547338c4c05ae80a8424434d6e9.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 511770,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/46ee3d3df0634feaac136b6ab772ccc5.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 512906,
'Height': 1329,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b8aacf8114bf45c5afb585baba7847de.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 469370,
'Height': 1392,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/455eb60b6eb840f8b98f1380a4823631.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 527294,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/dd3017622677453ca4a27373681b0408.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 299940,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bc3a9197bb41441ba74849647bdd9799.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 226547,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fde4507759f74e35b005b165731c6230.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 281348,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9ae83020ac424100b52d5eabb81edfba.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 399788,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3650b3d25f9642ee86003f6b547d59e6.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 218793,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/515db8ec9b78441384d5e871106643d3.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_11431ca2-e289-5ad4-9ba4-5a7291e4a43f/11431ca2-e289-5ad4-9ba4-5a7291e4a43f_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 172760,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b7d566c95bfe4da7ab50281f090ee0bd.jpg',
'Width': 2048}],
'price': 25995,
'price_includes_vat': True,
'registration_date': '2013-12-17',
'seats_number': 4,
'seller_name': None,
'title': 'Audi TT Rs 2.5 TFSI Plus S Tronic quattro Euro 5 3dr',
'transmission': 'automatic',
'trim': 'Plus',
'year': 2013}
2025-12-05 12:58:27 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:58:27 [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%27202509286696841%27 HTTP/1.1" 200 None
2025-12-05 12:58:27 [auto_selling_autotrader.co.uk] INFO: Saving data for 202509286696841: {'created_time': 1764939507.680745, 'last_price_update_time': 1764939507.680753}
2025-12-05 12:58:27 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:58:27 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202509286696841') HTTP/1.1" 204 0
2025-12-05 12:58:27 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:58:27 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:58:27 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:58:27 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:58:27 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:58:27 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 3173c74ad1c111f0b120928152083da5
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:58:27 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:58:27 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:58:27 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:58:28 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:58:28 [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:58:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:58:28 [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%201763643508 HTTP/1.1" 200 None
2025-12-05 12:58:28 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (20 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/3173c74ad1c111f0b120928152083da5.jl
2025-12-05 12:58:28 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 160884,
'downloader/request_count': 21,
'downloader/request_method_count/POST': 21,
'downloader/response_bytes': 975862,
'downloader/response_count': 21,
'downloader/response_status_count/200': 21,
'elapsed_time_seconds': 196.596116,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 58, 28, 870487, tzinfo=datetime.timezone.utc),
'item_scraped_count': 20,
'log_count/DEBUG': 1059,
'log_count/INFO': 596,
'memusage/max': 146993152,
'memusage/startup': 127004672,
'request_depth_max': 1,
'response_received_count': 21,
'scheduler/dequeued': 21,
'scheduler/dequeued/memory': 21,
'scheduler/enqueued': 21,
'scheduler/enqueued/memory': 21,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 23,
'scrapy-zyte-api/error_ratio': 0.08695652173913043,
'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': 14.06926021181668,
'scrapy-zyte-api/mean_response_seconds': 14.109546117041083,
'scrapy-zyte-api/processed': 21,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 21,
'scrapy-zyte-api/request_args/experimental.requestCookies': 20,
'scrapy-zyte-api/request_args/experimental.responseCookies': 21,
'scrapy-zyte-api/request_args/httpRequestBody': 21,
'scrapy-zyte-api/request_args/httpRequestMethod': 21,
'scrapy-zyte-api/request_args/httpResponseBody': 21,
'scrapy-zyte-api/request_args/httpResponseHeaders': 21,
'scrapy-zyte-api/request_args/url': 21,
'scrapy-zyte-api/status_codes/0': 2,
'scrapy-zyte-api/status_codes/200': 21,
'scrapy-zyte-api/success': 21,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 55, 12, 274371, tzinfo=datetime.timezone.utc)}
2025-12-05 12:58:28 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:58:29 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fdc85730a10>
2025-12-05 12:58:29 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fdc85731250>