Head
2025-12-05 12:29:52 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:29:52 [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:29:52 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:29:52 [auto_selling_autotrader.co.uk] INFO: _job: 307f39aad1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:29:52 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:29:52 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:29:52 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:29:52 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:29:52 [scrapy.extensions.telnet] INFO: Telnet Password: 2366e48e103a41f9
2025-12-05 12:29:52 [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:29:52 [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/307f39aad1c111f0b120928152083da5.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:29:52 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:29:52 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:29:52 [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:29:52 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:29:52 [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:29:52 [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:29:52 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:29:52 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:29:52 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:29:52 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:29:52 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:29:52 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6031
2025-12-05 12:29:52 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:29:52 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:29:57 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10014216 and multipost_profile_id: d6b4518f-4c10-4125-8a95-bb0769d2407e and job_id: 307f39aad1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?postcode=OX3%209JY&retailerId=10014216&sort=price-asc
2025-12-05 12:29:57 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10014216, page: 1
2025-12-05 12:29:57 [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:29:59 [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:29:59 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:29:59 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 23
2025-12-05 12:29:59 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:29:59 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:29:59 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1970
2025-12-05 12:29:59 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:29:59 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:30:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:30:00 [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%27202511258124211%27 HTTP/1.1" 200 None
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511258124211: 1
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511258124211, item: 202511258124211
2025-12-05 12:30:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:30:00 [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%27202511177937233%27 HTTP/1.1" 200 None
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511177937233: 1
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511177937233, item: 202511177937233
2025-12-05 12:30:00 [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:30:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:30:00 [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%27202511177936566%27 HTTP/1.1" 200 None
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511177936566: 1
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511177936566, item: 202511177936566
2025-12-05 12:30:00 [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:30:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:30:00 [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%27202511167933051%27 HTTP/1.1" 200 None
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511167933051: 1
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511167933051, item: 202511167933051
2025-12-05 12:30:00 [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:30:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:30:00 [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%27202511107797647%27 HTTP/1.1" 200 None
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511107797647: 1
2025-12-05 12:30:00 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511107797647, item: 202511107797647
Tail
'OriginUrl': 'https://m.atcdn.co.uk/a/media/9302d1231b7442f9a7e0bc170da85fdd.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 259184,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/674cb78ccd0945fbaba63de40245c4a8.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 229778,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b5b6073bb623440da578c4c820405932.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 227827,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2d5a3764d0894bc199c74a4de25961f0.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 239046,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/ea0f812222314b32ae906e87e4d2ba07.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 216810,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5f79c1e5128444d18e8baa3141064cc2.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 205306,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2a01c33ccac7423689cd019605ed8c1e.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 340992,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/767b4deb394049b58b83d7f04b6e2ea8.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 248486,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2950aac6c10a4ebfa1b09b0e98b92105.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 298848,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d430b503db65487d9eb6fb6746531185.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 287923,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4daa12407e234a36810eda757ea846da.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 243134,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e0f53de3e18f4ed3bbd1e5ac321aa1db.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 281848,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fe1b8e04cc9d41e2b38fac5cc3a9127e.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 272443,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/584ce839f2b14e5c8f960596ba110a81.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 314630,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6e29e813d5e74c9b92ad12c5ad96a4ee.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 311191,
'Height': 1244,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/37e75de6c131472e9de2605ac370f116.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 290582,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1019ab3a221344d1b7d79dd85645aa4d.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 260288,
'Height': 1245,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5f3da3c09a774ff6abc495253962ab33.jpg',
'Width': 1660},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc/b7c5cdad-15e8-55a2-b4e9-667bb6af6bdc_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 239533,
'Height': 1244,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/09673e05120c43de8141e586cff70219.jpg',
'Width': 1660}],
'price': 6000,
'price_includes_vat': True,
'registration_date': '2012-05-28',
'seats_number': 5,
'seller_name': None,
'title': 'Toyota Auris 1.8 VVT-h T4 Hatchback 5dr Petrol Hybrid CVT Euro 5 '
'(s/s) (136 ps)',
'transmission': 'automatic',
'trim': 'T4',
'year': 2012}
2025-12-05 12:37:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:37:09 [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%27202408012399702%27 HTTP/1.1" 200 None
2025-12-05 12:37:09 [auto_selling_autotrader.co.uk] INFO: Saving data for 202408012399702: {'created_time': 1764938229.731053, 'last_price_update_time': 1764938229.73106}
2025-12-05 12:37:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:37:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202408012399702') HTTP/1.1" 204 0
2025-12-05 12:37:09 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:37:09 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:37:09 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:37:09 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:37:09 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:37:09 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 307f39aad1c111f0b120928152083da5
2025-12-05 12:37:09 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:37:09 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:37:09 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:37:09 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:37:10 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:37:10 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:37:10 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:37:10 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:37:10 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 3, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 12:37:10 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:37:10 [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%201763642230 HTTP/1.1" 200 None
2025-12-05 12:37:10 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (23 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/307f39aad1c111f0b120928152083da5.jl
2025-12-05 12:37:10 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 193457,
'downloader/request_count': 25,
'downloader/request_method_count/POST': 25,
'downloader/response_bytes': 1247971,
'downloader/response_count': 25,
'downloader/response_status_count/200': 25,
'elapsed_time_seconds': 438.134483,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 37, 10, 575433, tzinfo=datetime.timezone.utc),
'item_scraped_count': 23,
'log_count/DEBUG': 1100,
'log_count/INFO': 621,
'memusage/max': 146616320,
'memusage/startup': 126357504,
'request_depth_max': 2,
'response_received_count': 25,
'scheduler/dequeued': 25,
'scheduler/dequeued/memory': 25,
'scheduler/enqueued': 25,
'scheduler/enqueued/memory': 25,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 29,
'scrapy-zyte-api/error_ratio': 0.13793103448275862,
'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': 16.96432520587463,
'scrapy-zyte-api/mean_response_seconds': 17.015240660272543,
'scrapy-zyte-api/processed': 25,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 25,
'scrapy-zyte-api/request_args/experimental.requestCookies': 24,
'scrapy-zyte-api/request_args/experimental.responseCookies': 25,
'scrapy-zyte-api/request_args/httpRequestBody': 25,
'scrapy-zyte-api/request_args/httpRequestMethod': 25,
'scrapy-zyte-api/request_args/httpResponseBody': 25,
'scrapy-zyte-api/request_args/httpResponseHeaders': 25,
'scrapy-zyte-api/request_args/url': 25,
'scrapy-zyte-api/status_codes/0': 4,
'scrapy-zyte-api/status_codes/200': 25,
'scrapy-zyte-api/success': 25,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 29, 52, 440950, tzinfo=datetime.timezone.utc)}
2025-12-05 12:37:10 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:37:10 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fd01d14c8d0>
2025-12-05 12:37:10 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fd01d14d0d0>