Head
2025-12-05 12:50:07 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:50:07 [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:50:07 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:50:07 [auto_selling_autotrader.co.uk] INFO: _job: 3126a6fed1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:50:07 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:50:07 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:50:07 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:50:07 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:50:07 [scrapy.extensions.telnet] INFO: Telnet Password: 95a0ca5c166e6df4
2025-12-05 12:50:07 [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:50:07 [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/3126a6fed1c111f0b120928152083da5.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:50:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:50:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:50:07 [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:50:07 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:50:07 [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:50:07 [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:50:07 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:50:07 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:50:07 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:50:07 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:50:07 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:50:07 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6029
2025-12-05 12:50:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:50:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:50:12 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10039415 and multipost_profile_id: 324ec4b3-ca3e-4d7b-bada-bfab8780f422 and job_id: 3126a6fed1c111f0b120928152083da5 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=10039415&sort=price-asc
2025-12-05 12:50:12 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10039415, page: 1
2025-12-05 12:50:12 [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:50:21 [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:50:21 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Page: 1/3, total results: 41
2025-12-05 12:50:21 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:50:21 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:50:21 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1963
2025-12-05 12:50:21 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:50:21 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:50:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:21 [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%27202512048389982%27 HTTP/1.1" 200 None
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048389982: 1
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048389982, item: 202512048389982
2025-12-05 12:50:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:21 [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%27202512048344224%27 HTTP/1.1" 200 None
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048344224: 1
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048344224, item: 202512048344224
2025-12-05 12:50:21 [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:50:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:21 [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%27202512048344006%27 HTTP/1.1" 200 None
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512048344006: 1
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512048344006, item: 202512048344006
2025-12-05 12:50:21 [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:50:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:21 [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%27202511298234382%27 HTTP/1.1" 200 None
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298234382: 1
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298234382, item: 202511298234382
2025-12-05 12:50:21 [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:50:21 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:21 [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%27202511298233570%27 HTTP/1.1" 200 None
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298233570: 1
2025-12-05 12:50:21 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298233570, item: 202511298233570
Tail
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 166475,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/8095e7c6dcdc42f1a78c0f36ece68e13.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 156771,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4f37f929aeb54089b062a972aecb473c.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 225698,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/ca55c1683c3c44ac8f7596f6e912f6fe.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 178083,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d1d03e3d822441af83afcdb8b4e1d43c.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 198493,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f1c8dcf0bf844233862037f108d15f36.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 215619,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/af282c3c381242928ba385de045c597a.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 81141,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/796e4044465b458294660f6143ca858e.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 78563,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/ba5c8c2fd9e6410c91fee0f598a09279.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 75061,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0f38547a9a83426d92795439bc1f2820.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 136930,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/686bf9c5496e4a388e45ce3c10bf8e2e.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 84804,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0f28feb510a0448babbb8d674093f931.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 144909,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/969e40df2a7c499c92e23effed30621c.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 147328,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/27e292be6be444d5b6c2496a49ec87fe.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 63091,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/aec8a590effd4c258f5f4eb88223143b.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 120941,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/46cf9980aef149ea93b29c9e930558cd.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 88920,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5937a28ea8e64ea9b640f5bec63fe069.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 72856,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d551a34c2650481682258f3c3c527d2f.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e13744a9-3814-5c26-a051-3f94fc6ea993/e13744a9-3814-5c26-a051-3f94fc6ea993_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 120250,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0de7b90740c045e4b2ba49967934e151.jpg',
'Width': 1280}],
'price': 13995,
'price_includes_vat': True,
'registration_date': '2020-07-16',
'seats_number': 7,
'seller_name': None,
'title': 'Citroen GRAND C4 SPACETOURER 1.2 PureTech Flair Plus MPV 5dr Petrol '
'Manual Euro 6 (s/s) (130 ps)',
'transmission': 'manual',
'trim': 'Flair Plus',
'year': 2020}
2025-12-05 12:55:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:49 [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%27202511248109885%27 HTTP/1.1" 200 None
2025-12-05 12:55:49 [auto_selling_autotrader.co.uk] INFO: Saving data for 202511248109885: {'created_time': 1764939349.796154, 'last_price_update_time': 1764939349.796166}
2025-12-05 12:55:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:49 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511248109885') HTTP/1.1" 204 0
2025-12-05 12:55:49 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:55:49 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:55:49 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:55:49 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:55:49 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:55:49 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 3126a6fed1c111f0b120928152083da5
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:55:49 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:55:49 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:55:49 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:55:50 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:55:50 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 1, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 12:55:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:55:51 [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%201763643350 HTTP/1.1" 200 None
2025-12-05 12:55:51 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (41 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/3126a6fed1c111f0b120928152083da5.jl
2025-12-05 12:55:51 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 351453,
'downloader/request_count': 64,
'downloader/request_method_count/GET': 20,
'downloader/request_method_count/POST': 44,
'downloader/response_bytes': 5159515,
'downloader/response_count': 64,
'downloader/response_status_count/200': 64,
'elapsed_time_seconds': 343.454176,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 55, 51, 56368, tzinfo=datetime.timezone.utc),
'item_scraped_count': 41,
'log_count/DEBUG': 2350,
'log_count/INFO': 1339,
'memusage/max': 157720576,
'memusage/startup': 126554112,
'photo_download_count': 20,
'request_depth_max': 3,
'response_received_count': 44,
'scheduler/dequeued': 64,
'scheduler/dequeued/memory': 64,
'scheduler/enqueued': 64,
'scheduler/enqueued/memory': 64,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 53,
'scrapy-zyte-api/error_ratio': 0.16981132075471697,
'scrapy-zyte-api/errors': 9,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 9,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 7.276547776151513,
'scrapy-zyte-api/mean_response_seconds': 7.340239133968927,
'scrapy-zyte-api/processed': 44,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 44,
'scrapy-zyte-api/request_args/experimental.requestCookies': 43,
'scrapy-zyte-api/request_args/experimental.responseCookies': 44,
'scrapy-zyte-api/request_args/httpRequestBody': 44,
'scrapy-zyte-api/request_args/httpRequestMethod': 44,
'scrapy-zyte-api/request_args/httpResponseBody': 44,
'scrapy-zyte-api/request_args/httpResponseHeaders': 44,
'scrapy-zyte-api/request_args/url': 44,
'scrapy-zyte-api/status_codes/0': 9,
'scrapy-zyte-api/status_codes/200': 44,
'scrapy-zyte-api/success': 44,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 50, 7, 602192, tzinfo=datetime.timezone.utc)}
2025-12-05 12:55:51 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:55:51 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f5453ae4ad0>
2025-12-05 12:55:51 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f5453ae5310>