Head
2025-12-05 12:54:16 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:54:16 [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:16 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:54:16 [auto_selling_autotrader.co.uk] INFO: _job: 3156becad1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:54:16 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:54:17 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:54:17 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:54:17 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:54:17 [scrapy.extensions.telnet] INFO: Telnet Password: 901eb36f5f0f0780
2025-12-05 12:54:17 [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:17 [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/3156becad1c111f0b120928152083da5.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:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:54:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:54:17 [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:17 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:54:17 [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:17 [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:17 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:54:17 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:54:17 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:54:17 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:54:17 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:54:17 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6034
2025-12-05 12:54:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:54:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:54:22 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10035909 and multipost_profile_id: 50ad1578-a9b3-49ff-b5c4-2462929de00f and job_id: 3156becad1c111f0b120928152083da5 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=10035909&sort=price-asc
2025-12-05 12:54:22 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10035909, page: 1
2025-12-05 12:54:22 [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:17 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:56:17 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:56:31 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 129.334(s), this was the 1st time calling it.
2025-12-05 12:56:31 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.5581991810235465 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:56:37 [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:56: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:56:49 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:56:49 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 33
2025-12-05 12:56:49 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:56:49 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:56:49 [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 12:56:49 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:56:49 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:56:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:56: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%27202511288202788%27 HTTP/1.1" 200 None
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511288202788: 1
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511288202788, item: 202511288202788
2025-12-05 12:56:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:56: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%27202511278179602%27 HTTP/1.1" 200 None
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278179602: 1
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278179602, item: 202511278179602
2025-12-05 12:56: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:56:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:56: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%27202511278179241%27 HTTP/1.1" 200 None
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278179241: 1
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278179241, item: 202511278179241
2025-12-05 12:56: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:56:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:56: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%27202511208021342%27 HTTP/1.1" 200 None
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511208021342: 1
2025-12-05 12:56:50 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511208021342, item: 202511208021342
Tail
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 274489,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/df51f325729a4f32a65d01bbf6368153.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 255974,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c302ffacd57f4d7084d8998c98743600.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 259525,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2589734fc503475ca8489f7454b66a40.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 279641,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/100ef13731b348aab88e0df665a06890.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 266385,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f55404fbfa2f45438814413191761b16.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 254466,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/553c1aa636e34a2188a392db29c535bb.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 214481,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/cdf31eb501604ba1a3de6a3e0b67a963.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 228062,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1aa50c034af84c7d9de3cce4102cde20.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 248556,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5500d58a250c4ce59cb91631e6da18d3.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 236662,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/937f4fd57dc34f408991ebfce1eb5c81.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 253739,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/7aa4f16115ed4c66bdde85c12ef74261.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 283414,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b6b5ad1dbe81438d84f04734efe639f0.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 268426,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3a51091669ab4e50960f0b6d2d547f56.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 276522,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3615c72e4137444289f658d10cb7d00a.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 289966,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/badfd861258c46fc83d6b5df4206d755.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 267026,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/444887d905a54d64b24ba358423f85be.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 222417,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/68ce9a6cab7c438693a30ebcd25a28ea.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d85824d4-3917-5c97-9408-bce0f8cd92ad/d85824d4-3917-5c97-9408-bce0f8cd92ad_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 225678,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9319a94298ae474c8ec0e2f2a3b0e198.jpg',
'Width': 2048}],
'price': 10200,
'price_includes_vat': True,
'registration_date': '2016-11-25',
'seats_number': 5,
'seller_name': None,
'title': 'Mercedes-Benz GLA 2.1 GLA220d AMG Line 7G-DCT 4MATIC Euro 6 (s/s) '
'5dr',
'transmission': 'automatic',
'trim': 'AMG Line',
'year': 2016}
2025-12-05 13:00:08 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:00:08 [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%27202511137864306%27 HTTP/1.1" 200 None
2025-12-05 13:00:08 [auto_selling_autotrader.co.uk] INFO: Saving data for 202511137864306: {'created_time': 1764939608.620206, 'last_price_update_time': 1764939608.620215}
2025-12-05 13:00:08 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:00:08 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511137864306') HTTP/1.1" 204 0
2025-12-05 13:00:08 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 13:00:08 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 13:00:08 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 13:00:08 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:00:08 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:00:08 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 3156becad1c111f0b120928152083da5
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 13:00:08 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 13:00:08 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:00:08 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:00:08 [azure.servicebus._pyamqp._transport] DEBUG: Transport endpoint is already disconnected: OSError(107, 'Transport endpoint is not connected')
2025-12-05 13:00:09 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 13:00:09 [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 13:00:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:00: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%201763643609 HTTP/1.1" 200 None
2025-12-05 13:00:09 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (33 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/3156becad1c111f0b120928152083da5.jl
2025-12-05 13:00:09 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 269347,
'downloader/request_count': 35,
'downloader/request_method_count/POST': 35,
'downloader/response_bytes': 1985866,
'downloader/response_count': 35,
'downloader/response_status_count/200': 35,
'elapsed_time_seconds': 352.331541,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 13, 0, 9, 604375, tzinfo=datetime.timezone.utc),
'item_scraped_count': 33,
'log_count/DEBUG': 1757,
'log_count/INFO': 958,
'memusage/max': 150736896,
'memusage/startup': 126763008,
'request_depth_max': 2,
'response_received_count': 35,
'scheduler/dequeued': 35,
'scheduler/dequeued/memory': 35,
'scheduler/enqueued': 35,
'scheduler/enqueued/memory': 35,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 39,
'scrapy-zyte-api/error_ratio': 0.10256410256410256,
'scrapy-zyte-api/errors': 4,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 4,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 13.863151928858963,
'scrapy-zyte-api/mean_response_seconds': 13.942565215492092,
'scrapy-zyte-api/processed': 35,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 35,
'scrapy-zyte-api/request_args/experimental.requestCookies': 34,
'scrapy-zyte-api/request_args/experimental.responseCookies': 35,
'scrapy-zyte-api/request_args/httpRequestBody': 35,
'scrapy-zyte-api/request_args/httpRequestMethod': 35,
'scrapy-zyte-api/request_args/httpResponseBody': 35,
'scrapy-zyte-api/request_args/httpResponseHeaders': 35,
'scrapy-zyte-api/request_args/url': 35,
'scrapy-zyte-api/status_codes/0': 4,
'scrapy-zyte-api/status_codes/200': 35,
'scrapy-zyte-api/success': 35,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 54, 17, 272834, tzinfo=datetime.timezone.utc)}
2025-12-05 13:00:09 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 13:00:09 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fdcb8d17e50>
2025-12-05 13:00:09 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fdcb6f61710>