Head
2025-12-05 12:58:32 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:58:32 [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:58:32 [auto_selling_coches.net] INFO: Starting auto_selling_coches.net spider
2025-12-05 12:58:32 [auto_selling_coches.net] INFO: _job: 31c76f30d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:58:32 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:58:32 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:58:32 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:58:32 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:58:32 [scrapy.extensions.telnet] INFO: Telnet Password: 85d8b845aa9c8db1
2025-12-05 12:58:32 [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:58:32 [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/31c76f30d1c111f0b120928152083da5.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:58:32 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:58:32 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:58:32 [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:58:32 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:58:32 [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:58:32 [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:58:32 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:58:32 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:58:32 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:58:32 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:58:32 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:58:32 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6024
2025-12-05 12:58:32 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:58:32 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:58:37 [auto_selling_coches.net] INFO: Scraper started with URL: https://www.coches.net/concesionario/engineermotorcars and multipost_profile_id: a8e4bf08-283f-47fe-bae5-33ad8290e49c and job_id: 31c76f30d1c111f0b120928152083da5
2025-12-05 12:58:37 [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:59:32 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 13:00:32 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 13:00:47 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 129.767(s), this was the 1st time calling it.
2025-12-05 13:00:47 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 4.476796391360386 seconds as it raised ClientConnectorError: Cannot connect to host api.zyte.com:443 ssl:default [Connect call failed ('69.41.180.81', 443)].
2025-12-05 13:00:52 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2025-12-05 13:01:09 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 151.890(s), this was the 2nd time calling it.
2025-12-05 13:01:09 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 3.9120922765975052 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 13:01:09 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '214', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': 'e82a1fd20153718b4a8420398aa9a0ee', '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=e82a1fd20153718b4a8420398aa9a0ee.
2025-12-05 13:01:13 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 3rd time calling it.
2025-12-05 13:01:19 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/engineermotorcars> (referer: None) ['zyte-api']
2025-12-05 13:01:20 [auto_selling_coches.net] INFO: response: <200 https://www.coches.net/concesionario/engineermotorcars/>
2025-12-05 13:01:20 [auto_selling_coches.net] INFO: Title at home page 19 VehĂculos
2025-12-05 13:01:20 [auto_selling_coches.net] INFO: Total number of items: 19
2025-12-05 13:01:20 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 13:01:32 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 13:01:49 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/engineermotorcars?pg=1> (referer: https://www.coches.net/concesionario/engineermotorcars/) ['zyte-api']
2025-12-05 13:01:49 [auto_selling_coches.net] INFO: Parsing page 1
2025-12-05 13:01:49 [auto_selling_coches.net] INFO: Found 19 listings on page 1
2025-12-05 13:01:49 [auto_selling_coches.net] INFO: Found listing with ID: 62024025
2025-12-05 13:01:49 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 13:01:49 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1965
2025-12-05 13:01:50 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2762024025%27 HTTP/1.1" 200 None
2025-12-05 13:01:50 [auto_selling_coches.net] INFO: Scrape type for 62024025: 1
2025-12-05 13:01:50 [auto_selling_coches.net] INFO: Scraping new listing 62024025
2025-12-05 13:01:50 [auto_selling_coches.net] INFO: Found listing with ID: 61822275
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:01:50 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2761822275%27 HTTP/1.1" 200 None
2025-12-05 13:01:50 [auto_selling_coches.net] INFO: Scrape type for 61822275: 1
2025-12-05 13:01:50 [auto_selling_coches.net] INFO: Scraping new listing 61822275
Tail
'\n'
'- Este anuncio no es vinculante, puede contener errores, se '
'muestra a titulo informativo y no contractual.',
'doors_number': 5,
'emission_standard': 'C',
'engine': '2.0L',
'engine_horse_power': 150,
'expiration_date': None,
'fuel_type': 'Diesel',
'id': '259c7647-6e75-5a2a-85ee-79cca8a7cf34',
'is_damaged': False,
'is_operable': True,
'license_plate': None,
'link_to_web_offer': 'https://www.coches.net/ford-kuga-trend-2.0-tdci-110kw-150cv-4x2-5p-diesel-2019-en-alicante-60839335-covo.aspx',
'listing': 'auction',
'location': 'Alicante',
'make': 'FORD',
'model': 'Kuga',
'odometer': 80000,
'odometer_reading_unit': 'km',
'origin_country_code': 'ES',
'original_photo_count': 12,
'photo_urls': ['https://a.ccdn.es/cnet/vehicles/18041355/6afe4f40-0f20-4f8c-928d-45577c973a27.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/6d24cf4f-b805-49af-aea0-82c3310d8770.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/552254d4-dbb7-400f-ac70-28eaae02cc9a.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/e2744a99-4678-48ed-a5f5-ab1d40ecc808.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/e2da1b4f-74dc-4711-8f19-5d05c20f0bdc.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/6bb73a10-f614-4563-bd3e-b366b750b66c.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/efd74866-5dad-4480-8e6b-727da6e0a3e3.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/38b56a36-cd20-4165-a372-ea4ae4273bb9.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/81c547d1-25e5-43f1-a025-f028acb9ddfa.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/979ba395-d7d6-4f79-9bec-1362ec3fbeec.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/c3a4d3dd-233f-4aac-8396-1c852f7a6f96.jpg',
'https://a.ccdn.es/cnet/vehicles/18041355/2e4dbbaf-fc58-49a6-a4a8-c01a79a4d891.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 201770,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/6afe4f40-0f20-4f8c-928d-45577c973a27.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 93482,
'Height': 483,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/6d24cf4f-b805-49af-aea0-82c3310d8770.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 194312,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/552254d4-dbb7-400f-ac70-28eaae02cc9a.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 169514,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/e2744a99-4678-48ed-a5f5-ab1d40ecc808.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 226139,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/e2da1b4f-74dc-4711-8f19-5d05c20f0bdc.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 149126,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/6bb73a10-f614-4563-bd3e-b366b750b66c.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 127756,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/efd74866-5dad-4480-8e6b-727da6e0a3e3.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 147986,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/38b56a36-cd20-4165-a372-ea4ae4273bb9.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 177495,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/81c547d1-25e5-43f1-a025-f028acb9ddfa.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 174803,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/979ba395-d7d6-4f79-9bec-1362ec3fbeec.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 164986,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/c3a4d3dd-233f-4aac-8396-1c852f7a6f96.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_1d063d19-6fc9-5eb4-9542-23a3857739b5/1d063d19-6fc9-5eb4-9542-23a3857739b5_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 204679,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18041355/2e4dbbaf-fc58-49a6-a4a8-c01a79a4d891.jpg',
'Width': 800}],
'price': 18500,
'price_includes_vat': True,
'registration_date': '2019-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'FORD Kuga Trend 2.0 TDCi 4x2',
'transmission': 'manual',
'trim': 'Trend 2.0 TDCi 110kW 150CV 4x2',
'vin': None,
'year': 2019}
2025-12-05 13:03:32 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:03:32 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20RowKey%20eq%20%2760839335%27 HTTP/1.1" 200 None
2025-12-05 13:03:32 [auto_selling_coches.net] INFO: Saving data for 60839335: {'created_time': 1764939812.649898, 'last_price_update_time': 1764939812.649909}
2025-12-05 13:03:32 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:03:32 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='60839335') HTTP/1.1" 204 0
2025-12-05 13:03:32 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 13:03:32 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 13:03:32 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 13:03:32 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:03:32 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:03:32 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 31c76f30d1c111f0b120928152083da5
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 13:03:32 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 13:03:32 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:03:32 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:03:32 [azure.servicebus._pyamqp._transport] DEBUG: Transport endpoint is already disconnected: OSError(107, 'Transport endpoint is not connected')
2025-12-05 13:03:33 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 13:03:33 [auto_selling_coches.net] INFO: auto_selling_coches.net 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 13:03:33 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:03:33 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net%27%20and%20last_price_update_time%20lt%201763643813 HTTP/1.1" 200 None
2025-12-05 13:03:33 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (19 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net/31c76f30d1c111f0b120928152083da5.jl
2025-12-05 13:03:33 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 41519,
'downloader/request_count': 21,
'downloader/request_method_count/GET': 21,
'downloader/response_bytes': 2904424,
'downloader/response_count': 21,
'downloader/response_status_count/200': 21,
'elapsed_time_seconds': 300.891076,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 13, 3, 33, 734227, tzinfo=datetime.timezone.utc),
'item_scraped_count': 19,
'log_count/DEBUG': 743,
'log_count/INFO': 460,
'memusage/max': 163426304,
'memusage/startup': 126717952,
'request_depth_max': 2,
'response_received_count': 21,
'scheduler/dequeued': 21,
'scheduler/dequeued/memory': 21,
'scheduler/enqueued': 21,
'scheduler/enqueued/memory': 21,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 23,
'scrapy-zyte-api/error_ratio': 0.08695652173913043,
'scrapy-zyte-api/error_types/download/temporary-error': 1,
'scrapy-zyte-api/errors': 2,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 1,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 20.812761522506744,
'scrapy-zyte-api/mean_response_seconds': 21.01920422681031,
'scrapy-zyte-api/processed': 21,
'scrapy-zyte-api/request_args/actions': 1,
'scrapy-zyte-api/request_args/browserHtml': 1,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 19,
'scrapy-zyte-api/request_args/experimental.requestCookies': 20,
'scrapy-zyte-api/request_args/experimental.responseCookies': 21,
'scrapy-zyte-api/request_args/httpResponseBody': 20,
'scrapy-zyte-api/request_args/httpResponseHeaders': 20,
'scrapy-zyte-api/request_args/requestHeaders': 1,
'scrapy-zyte-api/request_args/url': 21,
'scrapy-zyte-api/status_codes/0': 1,
'scrapy-zyte-api/status_codes/200': 21,
'scrapy-zyte-api/status_codes/520': 1,
'scrapy-zyte-api/success': 21,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 58, 32, 843151, tzinfo=datetime.timezone.utc)}
2025-12-05 13:03:33 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 13:03:33 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9ac5b54690>
2025-12-05 13:03:33 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9ac5b54f10>