Head
2025-11-13 14:49:50 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-11-13 14:49:50 [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-1092-azure-x86_64-with-glibc2.36
2025-11-13 14:49:50 [auto_selling_coches.net] INFO: Starting auto_selling_coches.net spider
2025-11-13 14:49:50 [auto_selling_coches.net] INFO: _job: 2025-11-13T15_48_52, SCRAPY_JOB: None
2025-11-13 14:49:50 [scrapy.addons] INFO: Enabled addons:
[]
2025-11-13 14:49:50 [asyncio] DEBUG: Using selector: EpollSelector
2025-11-13 14:49:50 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-11-13 14:49:50 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-11-13 14:49:50 [scrapy.extensions.telnet] INFO: Telnet Password: 12d611fda9e909e0
2025-11-13 14:49:50 [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-11-13 14:49:50 [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/2025-11-13T15_48_52.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-11-13 14:49:50 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-11-13 14:49:50 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-11-13 14:49:50 [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-11-13 14:49:50 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-11-13 14:49:50 [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-11-13 14:49:50 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2025-11-13 14:49:50 [scrapy.core.engine] INFO: Spider opened
2025-11-13 14:49:50 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-11-13 14:49:50 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-11-13 14:49:50 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-11-13 14:49:50 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-11-13 14:49:50 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2025-11-13 14:49:50 [scrapy-playwright] INFO: Starting download handler
2025-11-13 14:49:50 [scrapy-playwright] INFO: Starting download handler
2025-11-13 14:49:55 [auto_selling_coches.net] INFO: Scraper started with URL: https://www.coches.net/concesionario/roymaautomotor and multipost_profile_id: 4a63bf47-ed41-464f-ad4b-c1fa37515848 and job_id: 2025-11-13T15_48_52
2025-11-13 14:49:55 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-13 14:50:00 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/roymaautomotor> (referer: None) ['zyte-api']
2025-11-13 14:50:00 [auto_selling_coches.net] INFO: response: <200 https://www.coches.net/concesionario/roymaautomotor/>
2025-11-13 14:50:00 [auto_selling_coches.net] INFO: Title at home page 14 VehĂculos
2025-11-13 14:50:00 [auto_selling_coches.net] INFO: Total number of items: 14
2025-11-13 14:50:00 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-13 14:50:29 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/roymaautomotor/?pg=1> (referer: https://www.coches.net/concesionario/roymaautomotor/) ['zyte-api']
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Parsing page 1
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Found 14 listings on page 1
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Found listing with ID: 61949640
2025-11-13 14:50:29 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1965
2025-11-13 14:50:29 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:50:29 [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%2761949640%27 HTTP/1.1" 200 None
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scrape type for 61949640: 1
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scraping new listing 61949640
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Found listing with ID: 61927333
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:50:29 [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%2761927333%27 HTTP/1.1" 200 None
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scrape type for 61927333: 1
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scraping new listing 61927333
2025-11-13 14:50:29 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Found listing with ID: 61924750
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:50:29 [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%2761924750%27 HTTP/1.1" 200 None
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scrape type for 61924750: 1
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Scraping new listing 61924750
2025-11-13 14:50:29 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-13 14:50:29 [auto_selling_coches.net] INFO: Found listing with ID: 61949754
2025-11-13 14:50:29 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
Tail
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/8c4d97f4-8f17-485b-9683-1a23e18364bf.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 202255,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/0768d147-4e72-41fa-a44c-a49f488228b3.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 97365,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/7e8b0c41-9f2c-4536-ade9-1d2c02d0758f.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 197959,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/24855c8c-98f4-42f9-9528-95ab6d0ab91e.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 148721,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/021204dd-aae4-49c4-aed1-b1d9b434b6e2.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 168667,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/54a229b8-f4ae-49c7-959e-69a74da8a126.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 150455,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/450d0ef9-0526-478a-badb-ac06dd36701c.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 207837,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/f0d7e0ee-f205-49f5-a6ad-1dc09a5ac7c0.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 199094,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/ae618a4e-5b07-45ab-9cd8-a6c42823b4a2.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 146519,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/dce5c919-6ab8-424a-9dc4-db4dea7fec85.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 153031,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/29aa3d0b-2304-4dfc-aabe-c0584f94bca6.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 194460,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/e93d2398-2a10-4df2-89aa-8864f23a042b.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 188482,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/5d2a470a-e52e-400d-98e3-8326b7b405a5.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 148832,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/598a7496-ba0f-4d43-9971-f187c1023488.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 174111,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/96a16f4d-6774-486f-b8ea-7ce07921c4b7.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 170313,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/6c21d653-01c7-4d7f-bedc-4c82377b829d.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_4ea38401-773c-5b06-aa8b-cb5c0355ab7b/4ea38401-773c-5b06-aa8b-cb5c0355ab7b_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 174935,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18782879/e8144e77-236f-4f40-a5a3-55b6222900d5.jpg',
'Width': 800}],
'price': 20999,
'price_includes_vat': True,
'registration_date': '2020-01-01',
'seats_number': 4,
'seller_name': None,
'title': 'ABARTH 500 595 Turismo 1.4 16v TJet E6D',
'transmission': 'automatic',
'trim': '595 Turismo 1.4 16v TJet 121kW E6D',
'vin': None,
'year': 2020}
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:52:42 [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%2761781020%27 HTTP/1.1" 200 None
2025-11-13 14:52:42 [auto_selling_coches.net] INFO: Saving data for 61781020: {'created_time': 1763045562.023508, 'last_price_update_time': 1763045562.023517}
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61781020') HTTP/1.1" 204 0
2025-11-13 14:52:42 [scrapy.core.engine] INFO: Closing spider (finished)
2025-11-13 14:52:42 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-11-13 14:52:42 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-11-13 14:52:42 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-11-13 14:52:42 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-11-13 14:52:42 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 2025-11-13T15_48_52
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-11-13 14:52:42 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-11-13 14:52:42 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-13 14:52:42 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-13 14:52:42 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-11-13 14:52:42 [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-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:52:42 [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%2761949640%27 HTTP/1.1" 200 None
2025-11-13 14:52:42 [auto_selling_coches.net] INFO: Saving data for 61949640: {'created_time': 1763045562.498271}
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61949640') HTTP/1.1" 204 0
2025-11-13 14:52:42 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-13 14:52:42 [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%201761749562 HTTP/1.1" 200 None
2025-11-13 14:52:42 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (13 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net/2025-11-13T15_48_52.jl
2025-11-13 14:52:42 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 1,
'downloader/exception_type_count/zyte_api._errors.RequestError': 1,
'downloader/request_bytes': 195681,
'downloader/request_count': 290,
'downloader/request_method_count/GET': 290,
'downloader/response_bytes': 72403146,
'downloader/response_count': 289,
'downloader/response_status_count/200': 289,
'elapsed_time_seconds': 172.038268,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 11, 13, 14, 52, 42, 591838, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 48145647,
'httpcompression/response_count': 260,
'item_scraped_count': 13,
'log_count/DEBUG': 2837,
'log_count/ERROR': 1,
'log_count/INFO': 2539,
'memusage/max': 220471296,
'memusage/startup': 126324736,
'photo_download_count': 260,
'request_depth_max': 4,
'response_received_count': 29,
'scheduler/dequeued': 290,
'scheduler/dequeued/memory': 290,
'scheduler/enqueued': 290,
'scheduler/enqueued/memory': 290,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 36,
'scrapy-zyte-api/error_ratio': 0.19444444444444445,
'scrapy-zyte-api/error_types/download/temporary-error': 7,
'scrapy-zyte-api/errors': 7,
'scrapy-zyte-api/fatal_errors': 1,
'scrapy-zyte-api/mean_connection_seconds': 8.78795529759696,
'scrapy-zyte-api/mean_response_seconds': 8.483228259655679,
'scrapy-zyte-api/processed': 30,
'scrapy-zyte-api/request_args/actions': 1,
'scrapy-zyte-api/request_args/browserHtml': 15,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 14,
'scrapy-zyte-api/request_args/experimental.requestCookies': 29,
'scrapy-zyte-api/request_args/experimental.responseCookies': 30,
'scrapy-zyte-api/request_args/httpResponseBody': 15,
'scrapy-zyte-api/request_args/httpResponseHeaders': 15,
'scrapy-zyte-api/request_args/requestHeaders': 1,
'scrapy-zyte-api/request_args/url': 30,
'scrapy-zyte-api/status_codes/200': 29,
'scrapy-zyte-api/status_codes/520': 7,
'scrapy-zyte-api/success': 29,
'scrapy-zyte-api/success_ratio': 0.9666666666666667,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 11, 13, 14, 49, 50, 553570, tzinfo=datetime.timezone.utc)}
2025-11-13 14:52:42 [scrapy.core.engine] INFO: Spider closed (finished)
2025-11-13 14:52:42 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9e90756ed0>
2025-11-13 14:52:42 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f9e90757750>