Head
2025-12-05 12:41:17 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:41:17 [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:41:17 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:41:17 [auto_selling_autotrader.co.uk] INFO: _job: 30bb2190d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:41:17 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:41:17 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:41:17 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:41:17 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:41:17 [scrapy.extensions.telnet] INFO: Telnet Password: 3cf0895175a8c814
2025-12-05 12:41:17 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.memusage.MemoryUsage',
'scrapy.extensions.feedexport.FeedExporter',
'scrapy.extensions.logstats.LogStats',
'scrapy.extensions.closespider.CloseSpider']
2025-12-05 12:41:17 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 3600,
'CONCURRENT_REQUESTS': 5,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/auto_selling_autotrader.co.uk/30bb2190d1c111f0b120928152083da5.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:41:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:41:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:41:17 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware',
'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'scrapy_zyte_api.ScrapyZyteAPIDownloaderMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2025-12-05 12:41:17 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:41:17 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware',
'crawlers.middlewares.photo_download_middleware.PhotoDownloadMiddleware',
'crawlers.auto_selling.middlewares.id_gen_middleware.IdGenMiddleware']
2025-12-05 12:41:17 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2025-12-05 12:41:17 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:41:17 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:41:17 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:41:17 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:41:17 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:41:17 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6025
2025-12-05 12:41:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:41:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:41:22 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10008535 and multipost_profile_id: a057a71d-1cb2-4187-b744-0aab2797d629 and job_id: 30bb2190d1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?postcode=OX3%209JY&retailerId=10008535
2025-12-05 12:41:22 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10008535, page: 1
2025-12-05 12:41:22 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:41:58 [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:41:58 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:41:58 [auto_selling_autotrader.co.uk] INFO: Page: 1/4, total results: 79
2025-12-05 12:41:58 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:41:58 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:41:58 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1971
2025-12-05 12:41:58 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:41:58 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:41:59 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:41:59 [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%27202511298230919%27 HTTP/1.1" 200 None
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298230919: 1
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298230919, item: 202511298230919
2025-12-05 12:41:59 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:41:59 [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%27202511298230609%27 HTTP/1.1" 200 None
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298230609: 1
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298230609, item: 202511298230609
2025-12-05 12:41:59 [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:41:59 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:41:59 [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%27202511298230607%27 HTTP/1.1" 200 None
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298230607: 1
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298230607, item: 202511298230607
2025-12-05 12:41:59 [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:41:59 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:41:59 [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%27202511298230606%27 HTTP/1.1" 200 None
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298230606: 1
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298230606, item: 202511298230606
2025-12-05 12:41:59 [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:41:59 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:41:59 [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%27202511298230329%27 HTTP/1.1" 200 None
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511298230329: 1
2025-12-05 12:41:59 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511298230329, item: 202511298230329
Tail
2025-12-05 12:51:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:51:18 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item 79f009a1-9d9b-5a42-b8ea-3e3c5251019e
2025-12-05 12:51:18 [scrapy.core.scraper] DEBUG: Scraped from <200 https://www.autotrader.co.uk/at-graphql>
{'auction_title': '',
'c_o_2_emission_value': 164,
'color': 'Black',
'currency': 'GBP',
'description': '2 KEYS, ULEZ FREE, FRESH SERVICE (TOTAL 3 SERVICES), 3 FORMER '
'KEEPERS, NAVIGATION, BLUETOOTH, LEATHER SEATS',
'doors_number': 2,
'emission_standard': 'Euro 6',
'engine': '2L',
'engine_horse_power': 237,
'fuel_type': 'Diesel',
'id': '79f009a1-9d9b-5a42-b8ea-3e3c5251019e',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202511278165471',
'listing': 'directbuy',
'location': 'West Drayton, Middlesex',
'make': 'Land Rover',
'model': 'Range Rover Evoque',
'odometer': 53800,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 12,
'photo_urls': ['https://m.atcdn.co.uk/a/media/c389dc84fdae4989a1710c1698723500.jpg',
'https://m.atcdn.co.uk/a/media/cb2ecf45f41b437787403146418335f9.jpg',
'https://m.atcdn.co.uk/a/media/fa0275659f0a40cfacfdb9f61ea9437b.jpg',
'https://m.atcdn.co.uk/a/media/4637d25be2b74ba4b85c6fc8b261f3bd.jpg',
'https://m.atcdn.co.uk/a/media/2b91e83cf1364a5eb276b0baf6b56a91.jpg',
'https://m.atcdn.co.uk/a/media/129a19c7b49d4fce9328754abf860d66.jpg',
'https://m.atcdn.co.uk/a/media/397d3e5e61184d6089aa5a9fd67b2a02.jpg',
'https://m.atcdn.co.uk/a/media/310a714df8e94d02929390c780558a9f.jpg',
'https://m.atcdn.co.uk/a/media/1c46092b164a4aa99552ecb58749ef14.jpg',
'https://m.atcdn.co.uk/a/media/1e4366a0d31b4150b628bc3ffab8bf27.jpg',
'https://m.atcdn.co.uk/a/media/bbefc2bcd65e47f9908585d0b2ab04fb.jpg',
'https://m.atcdn.co.uk/a/media/c01b49506d7f466ca35025d19eb26acd.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 135141,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c389dc84fdae4989a1710c1698723500.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 131364,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/cb2ecf45f41b437787403146418335f9.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 85674,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/fa0275659f0a40cfacfdb9f61ea9437b.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 169029,
'Height': 601,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4637d25be2b74ba4b85c6fc8b261f3bd.jpg',
'Width': 1068},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 145286,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/2b91e83cf1364a5eb276b0baf6b56a91.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 132083,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/129a19c7b49d4fce9328754abf860d66.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 71267,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/397d3e5e61184d6089aa5a9fd67b2a02.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 124055,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/310a714df8e94d02929390c780558a9f.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 126762,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1c46092b164a4aa99552ecb58749ef14.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 72538,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/1e4366a0d31b4150b628bc3ffab8bf27.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 69006,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/bbefc2bcd65e47f9908585d0b2ab04fb.jpg',
'Width': 1024},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_aef7b6c6-f547-5082-a6b3-9282aac7c515/aef7b6c6-f547-5082-a6b3-9282aac7c515_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 98483,
'Height': 576,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/c01b49506d7f466ca35025d19eb26acd.jpg',
'Width': 1024}],
'price': 16290,
'price_includes_vat': True,
'registration_date': '2017-11-16',
'seats_number': 4,
'seller_name': None,
'title': 'Land Rover Range Rover Evoque 2.0 SD4 HSE Dynamic Convertible 2dr '
'Diesel Auto 4WD Euro 6 (s/s) (240 ps)',
'transmission': 'automatic',
'trim': 'HSE Dynamic',
'year': 2017}
2025-12-05 12:51:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:18 [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%27202511278165471%27 HTTP/1.1" 200 None
2025-12-05 12:51:18 [auto_selling_autotrader.co.uk] INFO: Saving data for 202511278165471: {'created_time': 1764939078.937203, 'last_price_update_time': 1764939078.937214}
2025-12-05 12:51:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202511278165471') HTTP/1.1" 204 0
2025-12-05 12:51:18 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:51:18 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:51:18 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:51:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:51:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:51:18 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 30bb2190d1c111f0b120928152083da5
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:51:18 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:51:18 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:19 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:51:19 [auto_selling_autotrader.co.uk] INFO: auto_selling_autotrader.co.uk Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 0, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 12:51:20 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:20 [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%201763643080 HTTP/1.1" 200 None
2025-12-05 12:51:20 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (79 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/30bb2190d1c111f0b120928152083da5.jl
2025-12-05 12:51:20 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 637685,
'downloader/request_count': 83,
'downloader/request_method_count/POST': 83,
'downloader/response_bytes': 3909154,
'downloader/response_count': 83,
'downloader/response_status_count/200': 83,
'elapsed_time_seconds': 603.310569,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 51, 20, 600690, tzinfo=datetime.timezone.utc),
'item_scraped_count': 79,
'log_count/DEBUG': 3445,
'log_count/INFO': 1844,
'memusage/max': 151564288,
'memusage/startup': 126779392,
'request_depth_max': 4,
'response_received_count': 83,
'scheduler/dequeued': 83,
'scheduler/dequeued/memory': 83,
'scheduler/enqueued': 83,
'scheduler/enqueued/memory': 83,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 95,
'scrapy-zyte-api/error_ratio': 0.12631578947368421,
'scrapy-zyte-api/errors': 12,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 12,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 12.285037945927945,
'scrapy-zyte-api/mean_response_seconds': 12.326222621121849,
'scrapy-zyte-api/processed': 83,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 83,
'scrapy-zyte-api/request_args/experimental.requestCookies': 82,
'scrapy-zyte-api/request_args/experimental.responseCookies': 83,
'scrapy-zyte-api/request_args/httpRequestBody': 83,
'scrapy-zyte-api/request_args/httpRequestMethod': 83,
'scrapy-zyte-api/request_args/httpResponseBody': 83,
'scrapy-zyte-api/request_args/httpResponseHeaders': 83,
'scrapy-zyte-api/request_args/url': 83,
'scrapy-zyte-api/status_codes/0': 12,
'scrapy-zyte-api/status_codes/200': 83,
'scrapy-zyte-api/success': 83,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 41, 17, 290121, tzinfo=datetime.timezone.utc)}
2025-12-05 12:51:20 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:51:20 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f4c61b60ad0>
2025-12-05 12:51:20 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f4c61b61350>