Head
2025-12-05 11:49:07 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 11:49:07 [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 11:49:07 [auto_selling_coches.net] INFO: Starting auto_selling_coches.net spider
2025-12-05 11:49:07 [auto_selling_coches.net] INFO: _job: 2fe4c974d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 11:49:07 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 11:49:07 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 11:49:07 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 11:49:07 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 11:49:07 [scrapy.extensions.telnet] INFO: Telnet Password: 039b4fe38e09f680
2025-12-05 11:49:07 [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 11:49:07 [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/2fe4c974d1c111f0b120928152083da5.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 11:49:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 11:49:07 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 11:49:07 [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 11:49:07 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 11:49:07 [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 11:49:07 [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 11:49:07 [scrapy.core.engine] INFO: Spider opened
2025-12-05 11:49:07 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 11:49:07 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 11:49:07 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 11:49:07 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 11:49:07 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6030
2025-12-05 11:49:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 11:49:07 [scrapy-playwright] INFO: Starting download handler
2025-12-05 11:49:12 [auto_selling_coches.net] INFO: Scraper started with URL: https://www.coches.net/concesionario/maxautocenter and multipost_profile_id: b0322c37-5ed8-42bd-bfc4-67590326a59b and job_id: 2fe4c974d1c111f0b120928152083da5
2025-12-05 11:49:12 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:49:24 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/maxautocenter> (referer: None) ['zyte-api']
2025-12-05 11:49:24 [auto_selling_coches.net] INFO: response: <200 https://www.coches.net/concesionario/maxautocenter/>
2025-12-05 11:49:24 [auto_selling_coches.net] INFO: Title at home page 14 VehĂculos
2025-12-05 11:49:24 [auto_selling_coches.net] INFO: Total number of items: 14
2025-12-05 11:49:24 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:50:01 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/maxautocenter?pg=1> (referer: https://www.coches.net/concesionario/maxautocenter/) ['zyte-api']
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Parsing page 1
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Found 14 listings on page 1
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Found listing with ID: 62145525
2025-12-05 11:50:01 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1969
2025-12-05 11:50:01 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:50:01 [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%2762145525%27 HTTP/1.1" 200 None
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scrape type for 62145525: 1
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scraping new listing 62145525
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Found listing with ID: 62152028
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:50:01 [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%2762152028%27 HTTP/1.1" 200 None
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scrape type for 62152028: 1
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scraping new listing 62152028
2025-12-05 11:50:01 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Found listing with ID: 62145312
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:50:01 [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%2762145312%27 HTTP/1.1" 200 None
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scrape type for 62145312: 1
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Scraping new listing 62145312
2025-12-05 11:50:01 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 11:50:01 [auto_selling_coches.net] INFO: Found listing with ID: 62146421
2025-12-05 11:50:01 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
Tail
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/87a8be36-5149-4456-8d62-6b31ed773071.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 132741,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/e8b65a10-843f-4c25-b5d0-14616bebf0dd.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 248335,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/90de4760-3d42-4c18-9b09-8a2bb0b58493.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 227820,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/8fdd1ad8-6d31-40a1-95ba-b4217cf5a61c.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 203287,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/2ae9df4b-ea15-41e1-9489-34eb94c7d445.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 203835,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/a65e9b43-8fb2-475e-9a4f-319f376f55f2.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 128457,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/7ec45b75-e3bc-468b-98d7-108955cbdfeb.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 150956,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/b60980e6-e72d-4d06-9a69-cee266b1b845.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 228862,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/209125e6-c928-4e87-9568-a6c7c2169660.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 236511,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/27a657f2-6351-4433-a879-87ffe6c092d8.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 219956,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/00852534-65f4-48dd-8c0d-6fefde1b1a16.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 202402,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/1f8b6f03-1671-483d-8fa4-8ccb684801fa.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 219060,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/d692c0a1-3abb-469a-a0bd-983c9a1daee7.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 169532,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/1bbd043f-3092-459a-86db-e14eae8cd6d4.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 185833,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/9af8c656-4466-49f4-aeb6-25aa75af8e62.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 169717,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/2ee09dbd-736f-44fa-87e5-add758a5ceb0.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 176304,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/c8029389-d4c8-47c9-adb0-cced278c5bfd.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_e10e46f1-08ad-5322-8dfe-e60570fa8cfe/e10e46f1-08ad-5322-8dfe-e60570fa8cfe_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 185530,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19090191/66cbdf32-79fd-48c3-846a-7da85926776c.jpg',
'Width': 800}],
'price': 19800,
'price_includes_vat': True,
'registration_date': '2018-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'MERCEDES-BENZ Clase C C 220 d 4MATIC',
'transmission': 'automatic',
'trim': 'C 220 d 4MATIC',
'vin': 'WDD2050041R402978',
'year': 2018}
2025-12-05 11:54:56 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:54:56 [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%2762145525%27 HTTP/1.1" 200 None
2025-12-05 11:54:56 [auto_selling_coches.net] INFO: Saving data for 62145525: {'created_time': 1764935696.394983, 'last_price_update_time': 1764935696.394992}
2025-12-05 11:54:56 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:54:56 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='62145525') HTTP/1.1" 204 0
2025-12-05 11:54:56 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 11:54:56 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 11:54:56 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 11:54:56 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 11:54:56 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 11:54:56 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 2fe4c974d1c111f0b120928152083da5
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 11:54:56 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 11:54:56 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 11:54:56 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 11:54:57 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 11:54:57 [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 11:54:58 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 11:54:58 [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%201763639698 HTTP/1.1" 200 None
2025-12-05 11:54:58 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61223265') HTTP/1.1" 204 0
2025-12-05 11:54:58 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (14 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net/2fe4c974d1c111f0b120928152083da5.jl
2025-12-05 11:54:58 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 137872,
'downloader/request_count': 296,
'downloader/request_method_count/GET': 296,
'downloader/response_bytes': 58058209,
'downloader/response_count': 296,
'downloader/response_status_count/200': 296,
'elapsed_time_seconds': 350.761267,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 11, 54, 58, 169354, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 54821456,
'httpcompression/response_count': 280,
'item_scraped_count': 14,
'log_count/DEBUG': 3010,
'log_count/INFO': 2728,
'memusage/max': 171077632,
'memusage/startup': 126734336,
'photo_download_count': 280,
'request_depth_max': 3,
'response_received_count': 16,
'scheduler/dequeued': 296,
'scheduler/dequeued/memory': 296,
'scheduler/enqueued': 296,
'scheduler/enqueued/memory': 296,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 21,
'scrapy-zyte-api/error_ratio': 0.23809523809523808,
'scrapy-zyte-api/errors': 5,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 5,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 19.4943778937959,
'scrapy-zyte-api/mean_response_seconds': 19.56751672235987,
'scrapy-zyte-api/processed': 16,
'scrapy-zyte-api/request_args/actions': 1,
'scrapy-zyte-api/request_args/browserHtml': 1,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 14,
'scrapy-zyte-api/request_args/experimental.requestCookies': 15,
'scrapy-zyte-api/request_args/experimental.responseCookies': 16,
'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': 16,
'scrapy-zyte-api/status_codes/0': 5,
'scrapy-zyte-api/status_codes/200': 16,
'scrapy-zyte-api/success': 16,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 11, 49, 7, 408087, tzinfo=datetime.timezone.utc)}
2025-12-05 11:54:58 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 11:54:58 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f89be94f2d0>
2025-12-05 11:54:58 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f89be955190>