Head
2026-01-28 12:40:24 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-01-28 12:40:24 [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
2026-01-28 12:40:24 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-01-28 12:40:24 [auto_selling_autotrader.co.uk] INFO: _job: 25abe462fc3011f0a599c2c555c92d63, SCRAPY_JOB: None
2026-01-28 12:40:24 [scrapy.addons] INFO: Enabled addons:
[]
2026-01-28 12:40:24 [asyncio] DEBUG: Using selector: EpollSelector
2026-01-28 12:40:24 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-01-28 12:40:24 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-01-28 12:40:24 [scrapy.extensions.telnet] INFO: Telnet Password: 9150581d9f0dbacd
2026-01-28 12:40:24 [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']
2026-01-28 12:40:24 [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/25abe462fc3011f0a599c2c555c92d63.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': ''}
2026-01-28 12:40:24 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 12:40:24 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-28 12:40:24 [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']
2026-01-28 12:40:24 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-01-28 12:40:24 [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']
2026-01-28 12:40:24 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-01-28 12:40:24 [scrapy.core.engine] INFO: Spider opened
2026-01-28 12:40:24 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-28 12:40:24 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-01-28 12:40:24 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-01-28 12:40:24 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-01-28 12:40:24 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2026-01-28 12:40:24 [scrapy-playwright] INFO: Starting download handler
2026-01-28 12:40:24 [scrapy-playwright] INFO: Starting download handler
2026-01-28 12:40:29 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 174995 and multipost_profile_id: 95d8ed44-b3cc-4e4a-ba55-4c0e4f62ac79 and job_id: 25abe462fc3011f0a599c2c555c92d63 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
2026-01-28 12:40:29 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 174995, page: 1
2026-01-28 12:40:29 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 12:40:30 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Page: 1/1, total results: 19
2026-01-28 12:40:30 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2001
2026-01-28 12:40:30 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:40:30 [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%27202601149127737%27 HTTP/1.1" 200 None
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202601149127737: 1
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202601149127737, item: 202601149127737
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:40:30 [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%27202512128556509%27 HTTP/1.1" 200 None
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512128556509: 1
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512128556509, item: 202512128556509
2026-01-28 12:40:30 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:40:30 [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%27202512108514007%27 HTTP/1.1" 200 None
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512108514007: 1
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512108514007, item: 202512108514007
2026-01-28 12:40:30 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 12:40:30 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:40:30 [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%27202512108501615%27 HTTP/1.1" 200 None
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512108501615: 1
2026-01-28 12:40:30 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512108501615, item: 202512108501615
2026-01-28 12:40:30 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-28 12:40:31 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:40:31 [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%27202512108494090%27 HTTP/1.1" 200 None
2026-01-28 12:40:31 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202512108494090: 1
2026-01-28 12:40:31 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202512108494090, item: 202512108494090
Tail
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 440230,
'Height': 1324,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/af1823701d9741eaa58fe1e2e82981e1.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 468481,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/71e36d91b1634ca4a826e20f0ed5cc36.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 455176,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/67842b2f37ca417394587009a433fa3c.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 520757,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fac84c1e35994b6e91deb0907963b077.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 417984,
'Height': 1393,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/aeb187ef97154e3fa337b910cc17b117.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 583743,
'Height': 1327,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f2c0070d78404e63839fc5254d4b7ec0.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 481936,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/caef9beb82ed4697addbb923ddb48302.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 537444,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/42f8fa181c7445808d4b9113830d1ea0.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 555971,
'Height': 1249,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3f76b0fbcd144a8ea6b9c53a5ac8e4b4.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 482966,
'Height': 1393,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2b7ee58515e24e29ab9c13412f9691ad.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 500299,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b1abacae2bcd4928be406d4ff5c5a4d1.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 229463,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1886d3455b294476b570f89afc694f33.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 282927,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/04a68628e4be44528d628688f718f671.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 224482,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/819df3b9920543efae9c84aece6b845a.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 273328,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6cc42ebe27c94a148fbfb8eccb0b38dc.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 269411,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/48f22ba422934e8799a26c1c9fa10274.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 259417,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e6f7dc61427248bdb1cc1179fd03202e.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a3d601b2-b98e-57de-b0ae-5f1540dd3c78/a3d601b2-b98e-57de-b0ae-5f1540dd3c78_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 192381,
'Height': 1365,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/5780a51ed002498e9660019b58c6e19a.jpg',
'Width': 2048}],
'price': 17750,
'price_includes_vat': True,
'registration_date': '2019-06-21',
'seats_number': 4,
'seller_name': None,
'title': 'MINI Hatch 2.0 John Cooper Works Steptronic Euro 6 (s/s) 3dr',
'transmission': 'automatic',
'trim': 'John Cooper Works',
'year': 2019}
2026-01-28 12:47:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:47:44 [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%27202510076941310%27 HTTP/1.1" 200 None
2026-01-28 12:47:44 [auto_selling_autotrader.co.uk] INFO: Saving data for 202510076941310: {'created_time': 1769604464.832438, 'last_price_update_time': 1769604464.832449}
2026-01-28 12:47:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:47:44 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202510076941310') HTTP/1.1" 204 0
2026-01-28 12:47:44 [scrapy.core.engine] INFO: Closing spider (finished)
2026-01-28 12:47:44 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-01-28 12:47:44 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-01-28 12:47:44 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-28 12:47:44 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-28 12:47:44 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 25abe462fc3011f0a599c2c555c92d63
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-01-28 12:47:44 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-01-28 12:47:44 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 12:47:44 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-28 12:47:44 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-01-28 12:47:44 [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}
2026-01-28 12:47:45 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-01-28 12:47:45 [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%201768308465 HTTP/1.1" 200 None
2026-01-28 12:47:45 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511308236946') HTTP/1.1" 204 0
2026-01-28 12:47:45 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202512288819304') HTTP/1.1" 204 0
2026-01-28 12:47:45 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (19 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/25abe462fc3011f0a599c2c555c92d63.jl
2026-01-28 12:47:45 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 151720,
'downloader/request_count': 20,
'downloader/request_method_count/POST': 20,
'downloader/response_bytes': 927245,
'downloader/response_count': 20,
'downloader/response_status_count/200': 20,
'elapsed_time_seconds': 441.326069,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 1, 28, 12, 47, 45, 681801, tzinfo=datetime.timezone.utc),
'item_scraped_count': 19,
'log_count/DEBUG': 1028,
'log_count/INFO': 576,
'memusage/max': 148807680,
'memusage/startup': 126726144,
'request_depth_max': 1,
'response_received_count': 20,
'scheduler/dequeued': 20,
'scheduler/dequeued/memory': 20,
'scheduler/enqueued': 20,
'scheduler/enqueued/memory': 20,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 26,
'scrapy-zyte-api/error_ratio': 0.23076923076923078,
'scrapy-zyte-api/errors': 6,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 6,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 11.947685979958624,
'scrapy-zyte-api/mean_response_seconds': 11.979965494247152,
'scrapy-zyte-api/processed': 20,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 20,
'scrapy-zyte-api/request_args/experimental.requestCookies': 14,
'scrapy-zyte-api/request_args/experimental.responseCookies': 20,
'scrapy-zyte-api/request_args/httpRequestBody': 20,
'scrapy-zyte-api/request_args/httpRequestMethod': 20,
'scrapy-zyte-api/request_args/httpResponseBody': 20,
'scrapy-zyte-api/request_args/httpResponseHeaders': 20,
'scrapy-zyte-api/request_args/url': 20,
'scrapy-zyte-api/status_codes/0': 6,
'scrapy-zyte-api/status_codes/200': 20,
'scrapy-zyte-api/success': 20,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 1, 28, 12, 40, 24, 355732, tzinfo=datetime.timezone.utc)}
2026-01-28 12:47:45 [scrapy.core.engine] INFO: Spider closed (finished)
2026-01-28 12:47:45 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f422e531b90>
2026-01-28 12:47:45 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f422e5323d0>