Head
2026-03-23 15:29:38 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-23 15:29:38 [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-1102-azure-x86_64-with-glibc2.36
2026-03-23 15:29:38 [auto_selling_coches.net] INFO: Starting auto_selling_coches.net spider
2026-03-23 15:29:38 [auto_selling_coches.net] INFO: _job: 19bf4dd426cd11f19de3069a2f3ffcf1, SCRAPY_JOB: None
2026-03-23 15:29:38 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-23 15:29:38 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-23 15:29:38 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-23 15:29:38 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-23 15:29:38 [scrapy.extensions.telnet] INFO: Telnet Password: a65fda247302c3d1
2026-03-23 15:29:38 [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-23 15:29:38 [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_coches.net/19bf4dd426cd11f19de3069a2f3ffcf1.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-03-23 15:29:38 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-23 15:29:38 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-23 15:29:38 [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-23 15:29:39 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-23 15:29:39 [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-23 15:29:39 [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-23 15:29:39 [scrapy.core.engine] INFO: Spider opened
2026-03-23 15:29:39 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-23 15:29:39 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-test-bus.servicebus.windows.net
2026-03-23 15:29:39 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-03-23 15:29:39 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-23 15:29:39 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2026-03-23 15:29:39 [scrapy-playwright] INFO: Starting download handler
2026-03-23 15:29:39 [scrapy-playwright] INFO: Starting download handler
2026-03-23 15:29:44 [auto_selling_coches.net] INFO: Scraper started with URL: https://www.coches.net/concesionario/cardealer and multipost_profile_id: fe9cf9a5-d624-4ff9-8e6a-a781318dbf45 and job_id: 19bf4dd426cd11f19de3069a2f3ffcf1
2026-03-23 15:29:44 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-23 15:29:56 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 11.980(s), this was the 1st time calling it.
2026-03-23 15:29:56 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.151975085756022 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Mon, 23 Mar 2026 15:29:56 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '214', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '79dff9945c5256670262fd862fd8c2ee', 'Vary': 'Accept-Encoding', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Expose-Headers': '*, X-Project-Key', 'Access-Control-Allow-Methods': 'GET, PUT, POST, DELETE, PATCH, OPTIONS', 'Access-Control-Allow-Headers': 'DNT, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Range, Authorization, X-Project-Key', 'Access-Control-Max-Age': '1728000')>, body=b'{"type":"/download/temporary-error","title":"Website Ban","status":520,"detail":"Zyte API could not get a ban-free response in a reasonable time. See https://docs.zyte.com/zyte-api/usage/errors.html#ban-responses"}', request_id=79dff9945c5256670262fd862fd8c2ee.
2026-03-23 15:30:02 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2026-03-23 15:30:11 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/cardealer> (referer: None) ['zyte-api']
2026-03-23 15:30:11 [auto_selling_coches.net] INFO: response: <200 https://www.coches.net/concesionario/cardealer/>
2026-03-23 15:30:11 [auto_selling_coches.net] INFO: Title at home page 10 VehĂculos
2026-03-23 15:30:11 [auto_selling_coches.net] INFO: Total number of items: 10
2026-03-23 15:30:11 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-23 15:30:39 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2026-03-23 15:30:42 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/cardealer?pg=1> (referer: https://www.coches.net/concesionario/cardealer/) ['zyte-api']
2026-03-23 15:30:42 [auto_selling_coches.net] INFO: Parsing page 1
2026-03-23 15:30:42 [auto_selling_coches.net] INFO: Found 10 listings on page 1
2026-03-23 15:30:42 [auto_selling_coches.net] INFO: Found listing with ID: 70177189
2026-03-23 15:30:42 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-23 15:30:42 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2090
2026-03-23 15:30:43 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstoragetest.table.core.windows.net:443
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2770177189%27 HTTP/1.1" 200 None
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Scrape type for 70177189: 1
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Scraping new listing 70177189
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Found listing with ID: 70170502
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2770170502%27 HTTP/1.1" 200 None
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Scrape type for 70170502: 1
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Scraping new listing 70170502
2026-03-23 15:30:43 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Found listing with ID: 62550077
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:30:43 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2762550077%27 HTTP/1.1" 200 None
2026-03-23 15:30:43 [auto_selling_coches.net] INFO: Scrape type for 62550077: 1
Tail
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 103566,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/2d6cb328-5b71-4121-9808-66f93c892605.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 100338,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/83379bc4-b099-4cd1-ba04-285314b55de9.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 95636,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/0d650f00-e548-443a-a802-9c5475aa4f80.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 97294,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/92bbe9bc-4d84-46dd-a978-b296a39d8bd6.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 103551,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/61dacaec-08ab-4448-8ed5-f4621e68d63d.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 101222,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/3666c2fc-b5f3-4090-a468-7360cd999084.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 108796,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/bf289ad1-aa2b-43a0-9a40-0d168d4a56a5.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 102352,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/6786a64f-5dd3-4b19-afd4-d144c66892ce.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 83552,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/203648ae-c291-4376-b618-9f9acf0ab5d3.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 118396,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/1f555fdb-c4f5-469c-ba03-d2d0ea1c7a1d.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 117757,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/ed86b2b8-1799-4d7b-8aa8-ac814b4e5362.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 112104,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/49d4fc7a-7fa7-4f78-8339-56d4bcb33fc0.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 114987,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/2b66df3f-c38a-4a47-8cbc-d75d3cf30737.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 98485,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/bfa22a05-fa98-4ac6-b450-22c6aa1704f7.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 90360,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/e2553976-5473-4e93-b933-049086637eb5.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 101756,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/2e212f5d-1051-4adc-aa37-afae67d4efee.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxtest.blob.core.windows.net/top-deal-listing/listing_9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a/9a72a6bc-fef1-5d03-a7b4-9e89e1ece01a_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 87583,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19418537/7274f8e4-e2b2-4b04-abfc-225874374db1.jpg',
'Width': 800}],
'price': 29990,
'price_includes_vat': True,
'registration_date': '2018-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'AUDI A3 S3 2.0 TFSI quattro S tronic Sportback',
'transmission': 'automatic',
'trim': 'S3 2.0 TFSI quattro S tronic Sportback',
'vin': None,
'year': 2018}
2026-03-23 15:32:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:32:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2762532179%27 HTTP/1.1" 200 None
2026-03-23 15:32:00 [auto_selling_coches.net] INFO: Saving data for 62532179: {'created_time': 1774279920.685742, 'last_price_update_time': 1774279920.685761}
2026-03-23 15:32:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:32:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='62532179') HTTP/1.1" 204 0
2026-03-23 15:32:00 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-23 15:32:00 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-23 15:32:00 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-23 15:32:00 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-23 15:32:00 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-23 15:32:00 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 19bf4dd426cd11f19de3069a2f3ffcf1
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-23 15:32:00 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-23 15:32:00 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-23 15:32:00 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-23 15:32:00 [azure.servicebus._pyamqp._transport] DEBUG: Transport endpoint is already disconnected: OSError(107, 'Transport endpoint is not connected')
2026-03-23 15:32:01 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-23 15:32:01 [auto_selling_coches.net] INFO: auto_selling_coches.net Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 10, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-03-23 15:32:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-23 15:32:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20last_price_update_time%20lt%201772983922 HTTP/1.1" 200 None
2026-03-23 15:32:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61930957') HTTP/1.1" 204 0
2026-03-23 15:32:02 [urllib3.connectionpool] DEBUG: https://alxsourcingstoragetest.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61988873') HTTP/1.1" 204 0
2026-03-23 15:32:02 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (10 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net/19bf4dd426cd11f19de3069a2f3ffcf1.jl
2026-03-23 15:32:02 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 97242,
'downloader/request_count': 212,
'downloader/request_method_count/GET': 212,
'downloader/response_bytes': 22524709,
'downloader/response_count': 212,
'downloader/response_status_count/200': 212,
'elapsed_time_seconds': 143.208548,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 23, 15, 32, 2, 316942, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 19502310,
'httpcompression/response_count': 200,
'item_scraped_count': 10,
'log_count/DEBUG': 2152,
'log_count/INFO': 1965,
'memusage/max': 166297600,
'memusage/startup': 126054400,
'photo_download_count': 200,
'request_depth_max': 3,
'response_received_count': 12,
'scheduler/dequeued': 212,
'scheduler/dequeued/memory': 212,
'scheduler/enqueued': 212,
'scheduler/enqueued/memory': 212,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 13,
'scrapy-zyte-api/error_ratio': 0.07692307692307693,
'scrapy-zyte-api/error_types/download/temporary-error': 1,
'scrapy-zyte-api/errors': 1,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 5.171162044754826,
'scrapy-zyte-api/mean_response_seconds': 4.689939178992063,
'scrapy-zyte-api/processed': 12,
'scrapy-zyte-api/request_args/actions': 1,
'scrapy-zyte-api/request_args/browserHtml': 1,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 10,
'scrapy-zyte-api/request_args/experimental.requestCookies': 11,
'scrapy-zyte-api/request_args/experimental.responseCookies': 12,
'scrapy-zyte-api/request_args/httpResponseBody': 11,
'scrapy-zyte-api/request_args/httpResponseHeaders': 11,
'scrapy-zyte-api/request_args/requestHeaders': 1,
'scrapy-zyte-api/request_args/url': 12,
'scrapy-zyte-api/status_codes/200': 12,
'scrapy-zyte-api/status_codes/520': 1,
'scrapy-zyte-api/success': 12,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 3, 23, 15, 29, 39, 108394, tzinfo=datetime.timezone.utc)}
2026-03-23 15:32:02 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-23 15:32:02 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f3bc8335a90>
2026-03-23 15:32:02 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f3bc8336310>