Head
2026-03-31 21:26:21 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-31 21:26:21 [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-03-31 21:26:21 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2026-03-31 21:26:21 [auto_selling_autotrader.co.uk] INFO: Quick mode enabled: batching detail requests in groups of 10
2026-03-31 21:26:21 [auto_selling_autotrader.co.uk] INFO: _job: 7a46758a2ce811f19724def17024dec4, SCRAPY_JOB: None
2026-03-31 21:26:21 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-31 21:26:21 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-31 21:26:21 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-31 21:26:21 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-31 21:26:21 [scrapy.extensions.telnet] INFO: Telnet Password: dcd3cff7d5b9ba9b
2026-03-31 21:26:21 [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-03-31 21:26:21 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 3600,
'DOWNLOAD_MAXSIZE': 52428800,
'DOWNLOAD_WARNSIZE': 10485760,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/auto_selling_autotrader.co.uk/7a46758a2ce811f19724def17024dec4.log',
'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
'MEMUSAGE_LIMIT_MB': 2048,
'MEMUSAGE_WARNING_MB': 1536,
'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-03-31 21:26:21 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:26:21 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-31 21:26:21 [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-03-31 21:26:21 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-31 21:26:21 [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-03-31 21:26:21 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-03-31 21:26:21 [scrapy.core.engine] INFO: Spider opened
2026-03-31 21:26:21 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-31 21:26:21 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-03-31 21:26:21 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-03-31 21:26:21 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-31 21:26:21 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6024
2026-03-31 21:26:21 [scrapy.extensions.memusage] INFO: Peak memory usage is 142MiB
2026-03-31 21:26:21 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:26:21 [scrapy-playwright] INFO: Starting download handler
2026-03-31 21:26:26 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 423043 and multipost_profile_id: 191091f5-6123-48bc-8657-fdcdf610dbeb and job_id: 7a46758a2ce811f19724def17024dec4 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=423043&sort=price-asc
2026-03-31 21:26:26 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 423043, page: 1
2026-03-31 21:26:26 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-31 21:26:27 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery> (referer: None) ['zyte-api']
2026-03-31 21:26:27 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2026-03-31 21:26:27 [auto_selling_autotrader.co.uk] INFO: Page: 1/6, total results: 108
2026-03-31 21:26:27 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2026-03-31 21:26:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-31 21:26:27 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2117
2026-03-31 21:26:27 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-31 21:26:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311186310%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311186310: 1
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311180544%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311180544: 1
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311179736%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311179736: 1
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311167009%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311167009: 1
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311166850%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311166850: 1
2026-03-31 21:26:28 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:26:28 [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%27202603311166517%27 HTTP/1.1" 200 None
2026-03-31 21:26:28 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202603311166517: 1
Tail
2026-03-31 21:27:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /PhotoDownloadCache()?$filter=PartitionKey%20eq%20%27auto_selling_autotrader.co.uk%27%20and%20RowKey%20eq%20%27https%3A%252F%252Fm.atcdn.co.uk%252Fa%252Fmedia%252F6cb1e225df37436e8449b8badc8331b3.jpg%27 HTTP/1.1" 200 None
2026-03-31 21:27:04 [crawlers.middlewares.photo_download_middleware] INFO: Image https://m.atcdn.co.uk/a/media/6cb1e225df37436e8449b8badc8331b3.jpg already downloaded
2026-03-31 21:27:04 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: 52f74457-1fd6-5862-b03b-48b6cb1dffc4 with identifier 202602200098420
2026-03-31 21:27:04 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:27:04 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:27:04 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item 52f74457-1fd6-5862-b03b-48b6cb1dffc4
2026-03-31 21:27:04 [scrapy.core.scraper] DEBUG: Scraped from <200 https://www.autotrader.co.uk/at-graphql>
{'auction_title': '',
'c_o_2_emission_value': 140,
'color': 'Blue',
'currency': 'GBP',
'description': 'Nationwide Delivery Available at Reasonable Rates. All our '
'vehicles come with a Pre-Delivery Inspection, HPI Check, 6 '
'Months Minimum MOT and 3 Month Warranty all for a Compulsory '
'Admin Fee £99. If finance is obtained using a lender outside '
'of our panel of lenders admin fee of £399+VAT applies. '
'Warranty applicable with external Finance Brokers £395 for 12 '
'Months coverage. Stay up to Date with current stock on our '
'Facebook Page',
'doors_number': 5,
'emission_standard': 'Euro 6',
'engine': '1.2L',
'engine_horse_power': 128,
'fuel_type': 'Petrol',
'id': '52f74457-1fd6-5862-b03b-48b6cb1dffc4',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202602200098420',
'listing': 'directbuy',
'location': 'Hornchurch, Essex',
'make': 'Vauxhall',
'model': 'Grandland X',
'odometer': 43000,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 66,
'photo_urls': ['https://m.atcdn.co.uk/a/media/3516fba2f5894283bf7825dab818e776.jpg',
'https://m.atcdn.co.uk/a/media/fd647282ef7b402f84247e254db87ea2.jpg',
'https://m.atcdn.co.uk/a/media/4703ed7df0984627ab35f98e1d575fe4.jpg',
'https://m.atcdn.co.uk/a/media/c55b8dd1b288498e8c178d6e8f9beaf8.jpg',
'https://m.atcdn.co.uk/a/media/d926afaa9dcf4ae0b41a7fa06dd395d6.jpg',
'https://m.atcdn.co.uk/a/media/197f0b3f1436406e879cc65aaf3b7192.jpg',
'https://m.atcdn.co.uk/a/media/6e19d0f41f7d46c2a1d94421b5cdf8ab.jpg',
'https://m.atcdn.co.uk/a/media/f275907710264156bee717dcf7d820e8.jpg',
'https://m.atcdn.co.uk/a/media/fe99116a526947db9404b7cb7e230b20.jpg',
'https://m.atcdn.co.uk/a/media/6cb1e225df37436e8449b8badc8331b3.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 239027,
'Height': 975,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3516fba2f5894283bf7825dab818e776.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4472dc55-17f6-57cb-8acf-4b8bf8d53003/4472dc55-17f6-57cb-8acf-4b8bf8d53003_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 36619,
'Height': 480,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f275907710264156bee717dcf7d820e8.jpg',
'Width': 640},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 247686,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fd647282ef7b402f84247e254db87ea2.jpg',
'Width': 1209},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 238525,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4703ed7df0984627ab35f98e1d575fe4.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 250600,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c55b8dd1b288498e8c178d6e8f9beaf8.jpg',
'Width': 1239},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 203646,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/d926afaa9dcf4ae0b41a7fa06dd395d6.jpg',
'Width': 1152},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 248646,
'Height': 1024,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/197f0b3f1436406e879cc65aaf3b7192.jpg',
'Width': 1217},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 238032,
'Height': 962,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6e19d0f41f7d46c2a1d94421b5cdf8ab.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 251438,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fe99116a526947db9404b7cb7e230b20.jpg',
'Width': 1280},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_52f74457-1fd6-5862-b03b-48b6cb1dffc4/52f74457-1fd6-5862-b03b-48b6cb1dffc4_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 228415,
'Height': 960,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/6cb1e225df37436e8449b8badc8331b3.jpg',
'Width': 1280}],
'price': 9699,
'price_includes_vat': True,
'registration_date': '2020-10-31',
'seats_number': 5,
'seller_name': None,
'title': 'Vauxhall Grandland X 1.2 Turbo SE Premium SUV 5dr Petrol Manual '
'Euro 6 (s/s) (130 ps)',
'transmission': 'manual',
'trim': 'SE Premium',
'year': 2020}
2026-03-31 21:27:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:04 [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%27202602200098420%27 HTTP/1.1" 200 None
2026-03-31 21:27:04 [auto_selling_autotrader.co.uk] INFO: Saving data for 202602200098420: {'created_time': 1774992424.94199, 'last_price_update_time': 1774992424.941997}
2026-03-31 21:27:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:04 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202602200098420') HTTP/1.1" 204 0
2026-03-31 21:27:04 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-31 21:27:04 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-31 21:27:04 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-31 21:27:04 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:27:04 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-31 21:27:04 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 7a46758a2ce811f19724def17024dec4
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-31 21:27:04 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-31 21:27:04 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:27:04 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-31 21:27:05 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-31 21:27:05 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 8, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-03-31 21:27:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-31 21:27:06 [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%201773696426 HTTP/1.1" 200 None
2026-03-31 21:27:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202602139920114') HTTP/1.1" 204 0
2026-03-31 21:27:06 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202602270275982') HTTP/1.1" 204 0
2026-03-31 21:27:06 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (108 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/7a46758a2ce811f19724def17024dec4.jl
2026-03-31 21:27:06 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 810311,
'downloader/request_count': 18,
'downloader/request_method_count/GET': 1,
'downloader/request_method_count/POST': 17,
'downloader/response_bytes': 5790771,
'downloader/response_count': 18,
'downloader/response_status_count/200': 18,
'elapsed_time_seconds': 44.877285,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 31, 21, 27, 6, 344046, tzinfo=datetime.timezone.utc),
'item_scraped_count': 108,
'log_count/DEBUG': 2861,
'log_count/INFO': 1597,
'memusage/max': 149483520,
'memusage/startup': 149483520,
'photo_download_count': 1,
'request_depth_max': 6,
'response_received_count': 17,
'scheduler/dequeued': 18,
'scheduler/dequeued/memory': 18,
'scheduler/enqueued': 18,
'scheduler/enqueued/memory': 18,
'scrape_type/new': 108,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 17,
'scrapy-zyte-api/error_ratio': 0.0,
'scrapy-zyte-api/errors': 0,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 5.578020926181446,
'scrapy-zyte-api/mean_response_seconds': 5.727331895545563,
'scrapy-zyte-api/processed': 17,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 17,
'scrapy-zyte-api/request_args/experimental.requestCookies': 16,
'scrapy-zyte-api/request_args/experimental.responseCookies': 17,
'scrapy-zyte-api/request_args/httpRequestBody': 17,
'scrapy-zyte-api/request_args/httpRequestMethod': 17,
'scrapy-zyte-api/request_args/httpResponseBody': 17,
'scrapy-zyte-api/request_args/httpResponseHeaders': 17,
'scrapy-zyte-api/request_args/url': 17,
'scrapy-zyte-api/status_codes/200': 17,
'scrapy-zyte-api/success': 17,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 3, 31, 21, 26, 21, 466761, tzinfo=datetime.timezone.utc)}
2026-03-31 21:27:06 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-31 21:27:06 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f86b6f53890>
2026-03-31 21:27:06 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f86b6f5c150>