Head
2025-12-05 12:40:02 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:40:02 [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:40:02 [auto_selling_autotrader.co.uk] INFO: Starting auto_selling_autotrader.co.uk spider
2025-12-05 12:40:02 [auto_selling_autotrader.co.uk] INFO: _job: 30ae73dcd1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:40:02 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:40:02 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:40:02 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:40:02 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:40:02 [scrapy.extensions.telnet] INFO: Telnet Password: 8229ee4faa66286a
2025-12-05 12:40:02 [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:40:02 [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/30ae73dcd1c111f0b120928152083da5.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:40:02 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:40:02 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:40:02 [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:40:02 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:40:02 [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:40:02 [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:40:02 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:40:02 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:40:02 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:40:02 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:40:02 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:40:02 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2025-12-05 12:40:02 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:40:02 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:40:07 [auto_selling_autotrader.co.uk] INFO: Scraper started with retailer ID: 10023619 and multipost_profile_id: bf46af4b-4fc5-4c27-99e9-fb63b773078d and job_id: 30ae73dcd1c111f0b120928152083da5 and url: https://www.autotrader.co.uk/cars/retailer/stock?postcode=OX3%209JY&retailerId=10023619
2025-12-05 12:40:07 [auto_selling_autotrader.co.uk] INFO: Getting list for retailer ID: 10023619, page: 1
2025-12-05 12:40:07 [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:40:08 [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:40:08 [auto_selling_autotrader.co.uk] DEBUG: response: <200 https://www.autotrader.co.uk/at-gateway?opname=SearchResultsListingsGridQuery&opname=SearchResultsFacetsWithGroupsQuery>
2025-12-05 12:40:08 [auto_selling_autotrader.co.uk] INFO: Page: 1/2, total results: 38
2025-12-05 12:40:08 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:40:08 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:40:08 [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:40:08 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:40:08 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:40:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:40: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%27202511288218558%27 HTTP/1.1" 200 None
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511288218558: 1
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511288218558, item: 202511288218558
2025-12-05 12:40:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:40: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%27202511288217405%27 HTTP/1.1" 200 None
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511288217405: 1
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511288217405, item: 202511288217405
2025-12-05 12:40:09 [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:40:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:40: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%27202511288214623%27 HTTP/1.1" 200 None
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511288214623: 1
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511288214623, item: 202511288214623
2025-12-05 12:40:09 [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:40:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:40: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%27202511288212781%27 HTTP/1.1" 200 None
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511288212781: 1
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511288212781, item: 202511288212781
2025-12-05 12:40:09 [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:40:09 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:40: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%27202511278180626%27 HTTP/1.1" 200 None
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Scrape type for 202511278180626: 1
2025-12-05 12:40:09 [auto_selling_autotrader.co.uk] INFO: Getting details for advert ID: 202511278180626, item: 202511278180626
Tail
'FINANCE AVAILABLE \n'
'\n'
'07425 507632',
'doors_number': 4,
'emission_standard': 'Euro 6',
'engine': '2L',
'engine_horse_power': 202,
'fuel_type': 'Diesel',
'id': 'bab5cfb1-9162-53a1-91da-f540d2b96437',
'is_damaged': False,
'is_operable': True,
'link_to_web_offer': 'https://www.autotrader.co.uk/car-details/202509156349482',
'listing': 'directbuy',
'location': 'Stourbridge, West Midlands',
'make': 'Ford',
'model': 'Ranger',
'odometer': 14000,
'odometer_reading_unit': 'mi',
'origin_country_code': 'GB',
'original_photo_count': 13,
'photo_urls': ['https://m.atcdn.co.uk/a/media/dcb73e14136f448e9519cc75577821cf.jpg',
'https://m.atcdn.co.uk/a/media/4fcd8f75748e476d83c4869a1c38b7ae.jpg',
'https://m.atcdn.co.uk/a/media/903b6bbee12345f8a5fc7a978d2d87db.jpg',
'https://m.atcdn.co.uk/a/media/0174143499b444f0a8b18a2786da350b.jpg',
'https://m.atcdn.co.uk/a/media/89e0309c1fa2457a99ade1e6405ea992.jpg',
'https://m.atcdn.co.uk/a/media/303875d404b647d989ffbb1cd76e1436.jpg',
'https://m.atcdn.co.uk/a/media/28f012bbad584d9a9e032e9e87e1a424.jpg',
'https://m.atcdn.co.uk/a/media/3e9fc7817ae445318e2e93765c0c95d4.jpg',
'https://m.atcdn.co.uk/a/media/f85d61a2e1ef4004a4304beed7430753.jpg',
'https://m.atcdn.co.uk/a/media/e6ea5bdee39d4ddebce5cd76c69623bf.jpg',
'https://m.atcdn.co.uk/a/media/10be748f7bbf4aa1b64cb615023431eb.jpg',
'https://m.atcdn.co.uk/a/media/b8013f4127014c9e99b713e8cda15b99.jpg',
'https://m.atcdn.co.uk/a/media/a291babee60c43b5a397b1484d147351.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 320979,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/dcb73e14136f448e9519cc75577821cf.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 320983,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/4fcd8f75748e476d83c4869a1c38b7ae.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 288291,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/903b6bbee12345f8a5fc7a978d2d87db.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 320086,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/0174143499b444f0a8b18a2786da350b.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 301895,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/89e0309c1fa2457a99ade1e6405ea992.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 307781,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/303875d404b647d989ffbb1cd76e1436.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 303348,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/28f012bbad584d9a9e032e9e87e1a424.jpg',
'Width': 2048},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 155993,
'Height': 983,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/3e9fc7817ae445318e2e93765c0c95d4.jpg',
'Width': 1320},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 167424,
'Height': 976,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/f85d61a2e1ef4004a4304beed7430753.jpg',
'Width': 1320},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 166520,
'Height': 981,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/e6ea5bdee39d4ddebce5cd76c69623bf.jpg',
'Width': 1320},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 120028,
'Height': 977,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/10be748f7bbf4aa1b64cb615023431eb.jpg',
'Width': 1320},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 136472,
'Height': 981,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/b8013f4127014c9e99b713e8cda15b99.jpg',
'Width': 1320},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_a4387c5a-c15d-5d86-9a68-7883ee3b2a98/a4387c5a-c15d-5d86-9a68-7883ee3b2a98_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 342639,
'Height': 1536,
'OriginUrl': 'https://m.atcdn.co.uk/a/media/a291babee60c43b5a397b1484d147351.jpg',
'Width': 2048}],
'price': 35995,
'price_includes_vat': True,
'registration_date': '2024-01-15',
'seats_number': 5,
'seller_name': None,
'title': 'Ford Ranger 2.0 TD EcoBlue Wildtrak Auto 4WD Euro 6 (s/s) 4dr',
'transmission': 'automatic',
'trim': 'Wildtrak',
'year': 2024}
2025-12-05 12:47:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:47:34 [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%27202509156349482%27 HTTP/1.1" 200 None
2025-12-05 12:47:34 [auto_selling_autotrader.co.uk] INFO: Saving data for 202509156349482: {'created_time': 1764938854.964851, 'last_price_update_time': 1764938854.964863}
2025-12-05 12:47:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:47:34 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_autotrader.co.uk',RowKey='202509156349482') HTTP/1.1" 204 0
2025-12-05 12:47:34 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:47:34 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:47:34 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:47:34 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:47:34 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:47:34 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 30ae73dcd1c111f0b120928152083da5
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:47:34 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:47:34 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:47:34 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:47:35 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:47:35 [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:47:35 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:47:36 [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%201763642855 HTTP/1.1" 200 None
2025-12-05 12:47:36 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (38 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_autotrader.co.uk/30ae73dcd1c111f0b120928152083da5.jl
2025-12-05 12:47:36 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 306272,
'downloader/request_count': 40,
'downloader/request_method_count/POST': 40,
'downloader/response_bytes': 1834292,
'downloader/response_count': 40,
'downloader/response_status_count/200': 40,
'elapsed_time_seconds': 453.53958,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 47, 36, 40589, tzinfo=datetime.timezone.utc),
'item_scraped_count': 38,
'log_count/DEBUG': 1539,
'log_count/INFO': 848,
'memusage/max': 149921792,
'memusage/startup': 126545920,
'request_depth_max': 2,
'response_received_count': 40,
'scheduler/dequeued': 40,
'scheduler/dequeued/memory': 40,
'scheduler/enqueued': 40,
'scheduler/enqueued/memory': 40,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 49,
'scrapy-zyte-api/error_ratio': 0.1836734693877551,
'scrapy-zyte-api/errors': 9,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 9,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 12.125859322273756,
'scrapy-zyte-api/mean_response_seconds': 12.163507563518943,
'scrapy-zyte-api/processed': 40,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 40,
'scrapy-zyte-api/request_args/experimental.requestCookies': 34,
'scrapy-zyte-api/request_args/experimental.responseCookies': 40,
'scrapy-zyte-api/request_args/httpRequestBody': 40,
'scrapy-zyte-api/request_args/httpRequestMethod': 40,
'scrapy-zyte-api/request_args/httpResponseBody': 40,
'scrapy-zyte-api/request_args/httpResponseHeaders': 40,
'scrapy-zyte-api/request_args/url': 40,
'scrapy-zyte-api/status_codes/0': 9,
'scrapy-zyte-api/status_codes/200': 40,
'scrapy-zyte-api/success': 40,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 40, 2, 501009, tzinfo=datetime.timezone.utc)}
2025-12-05 12:47:36 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:47:36 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9e4b4cca50>
2025-12-05 12:47:36 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9e4b4cd290>