Head
2025-11-19 10:29:44 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-11-19 10:29:44 [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-19 10:29:44 [auto_selling_coches.net] INFO: Starting auto_selling_coches.net spider
2025-11-19 10:29:44 [auto_selling_coches.net] INFO: _job: 2025-11-19T11_28_44, SCRAPY_JOB: None
2025-11-19 10:29:44 [scrapy.addons] INFO: Enabled addons:
[]
2025-11-19 10:29:45 [asyncio] DEBUG: Using selector: EpollSelector
2025-11-19 10:29:45 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-11-19 10:29:45 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-11-19 10:29:45 [scrapy.extensions.telnet] INFO: Telnet Password: 398947140369af86
2025-11-19 10:29:45 [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-19 10:29:45 [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-19T11_28_44.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-19 10:29:45 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-11-19 10:29:45 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-11-19 10:29:45 [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-19 10:29:45 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-11-19 10:29:45 [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-19 10:29:45 [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-19 10:29:45 [scrapy.core.engine] INFO: Spider opened
2025-11-19 10:29:45 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-11-19 10:29:45 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-11-19 10:29:45 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-11-19 10:29:45 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-11-19 10:29:45 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2025-11-19 10:29:45 [scrapy-playwright] INFO: Starting download handler
2025-11-19 10:29:45 [scrapy-playwright] INFO: Starting download handler
2025-11-19 10:29:50 [auto_selling_coches.net] INFO: Scraper started with URL: https://www.coches.net/concesionario/bellamachina and multipost_profile_id: 91266557-8777-4290-895e-73b115a7e783 and job_id: 2025-11-19T11_28_44
2025-11-19 10:29:50 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-19 10:29:53 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/bellamachina> (referer: None) ['zyte-api']
2025-11-19 10:29:53 [auto_selling_coches.net] INFO: response: <200 https://www.coches.net/concesionario/bellamachina/>
2025-11-19 10:29:53 [auto_selling_coches.net] INFO: Title at home page 142 Vehículos
2025-11-19 10:29:53 [auto_selling_coches.net] INFO: Total number of items: 142
2025-11-19 10:29:53 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-19 10:30:21 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/bellamachina/?pg=1> (referer: https://www.coches.net/concesionario/bellamachina/) ['zyte-api']
2025-11-19 10:30:21 [auto_selling_coches.net] INFO: Parsing page 1
2025-11-19 10:30:21 [auto_selling_coches.net] INFO: Found 30 listings on page 1
2025-11-19 10:30:21 [auto_selling_coches.net] INFO: Found listing with ID: 62001312
2025-11-19 10:30:21 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-11-19 10:30:21 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-11-19 10:30:22 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1963
2025-11-19 10:30:22 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-11-19 10:30:22 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-11-19 10:30:22 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:30:22 [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%2762001312%27 HTTP/1.1" 200 None
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scrape type for 62001312: 1
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scraping new listing 62001312
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Found listing with ID: 62001311
2025-11-19 10:30:22 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:30:22 [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%2762001311%27 HTTP/1.1" 200 None
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scrape type for 62001311: 1
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scraping new listing 62001311
2025-11-19 10:30:22 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Found listing with ID: 61989816
2025-11-19 10:30:22 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:30:22 [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%2761989816%27 HTTP/1.1" 200 None
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scrape type for 61989816: 1
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Scraping new listing 61989816
2025-11-19 10:30:22 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-11-19 10:30:22 [auto_selling_coches.net] INFO: Found listing with ID: 61972132
2025-11-19 10:30:22 [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/18898510/1cc7ea92-b247-4f8a-8fe6-c09ade77cf38.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 196552,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/b6ea7633-42a7-4cbe-9c31-0b69aaef8d83.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 187187,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/2c0513c8-de33-48bf-95f4-83e12aa634a6.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 183798,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/73d9f29e-7b99-4e68-8604-6706bf92bf87.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 175645,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/f11c1c84-3d43-4423-86e4-7152bf470bf5.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 207762,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/0394e206-1d50-4842-90c9-cced34bfe3a5.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 194657,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/7f5452cd-6fd7-407e-aca6-794404eebcfd.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 201595,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/40b21bda-2353-4f82-8c10-968d7083935e.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 209102,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/9283a100-1b3c-449e-988a-a46d9147bdcd.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 220145,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/f4c9e403-f355-48db-81c4-3e2eb4db71fc.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 198347,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/ef9eb6f4-f0a9-4ea7-aed9-4efb319f54c6.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 289493,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/8784eb95-59af-4cbe-9f63-a8905c3d1d0c.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 288919,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/6a7ffeb1-a160-4053-8eda-c56d72d95e4a.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 183733,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/c8a42cae-9552-4f95-b327-0ec4dafd1aec.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 176615,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/ba08ae80-d9d8-4d69-afea-ea35bd3f3992.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 224190,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/f2e01f0b-2254-4a1e-bad3-8fed8348450f.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 197369,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/801e49af-8abd-4381-b92c-389465d9fa2a.jpg',
'Width': 800},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_95d175b1-060a-57ae-91bd-4f308176eef3/95d175b1-060a-57ae-91bd-4f308176eef3_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 226778,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/18898510/eb2f2e80-afd7-4258-a289-d63d0b7be53b.jpg',
'Width': 800}],
'price': 12950,
'price_includes_vat': True,
'registration_date': '2021-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'RENAULT Mégane Business Blue dCi',
'transmission': 'manual',
'trim': 'Business Blue dCi 70 kW 95CV',
'vin': 'VF1RFB00365360620',
'year': 2021}
2025-11-19 10:49:25 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:49:25 [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%2761917641%27 HTTP/1.1" 200 None
2025-11-19 10:49:25 [auto_selling_coches.net] INFO: Saving data for 61917641: {'created_time': 1763549365.457235, 'last_price_update_time': 1763549365.457245}
2025-11-19 10:49:25 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:49:25 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61917641') HTTP/1.1" 204 0
2025-11-19 10:49:25 [scrapy.core.engine] INFO: Closing spider (finished)
2025-11-19 10:49:25 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-11-19 10:49:25 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-11-19 10:49:25 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-11-19 10:49:25 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-11-19 10:49:25 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 2025-11-19T11_28_44
2025-11-19 10:49:25 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-11-19 10:49:26 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-11-19 10:49:26 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-19 10:49:26 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-11-19 10:49:26 [azure.servicebus._pyamqp._transport] DEBUG: Transport endpoint is already disconnected: OSError(107, 'Transport endpoint is not connected')
2025-11-19 10:49:26 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-11-19 10:49:26 [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}
2025-11-19 10:49:26 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-11-19 10:49:26 [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%201762253366 HTTP/1.1" 200 None
2025-11-19 10:49:26 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "DELETE /ScrapedListings(PartitionKey='auto_selling_coches.net',RowKey='61820998') HTTP/1.1" 204 0
2025-11-19 10:49:26 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (142 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net/2025-11-19T11_28_44.jl
2025-11-19 10:49:26 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 2209061,
'downloader/request_count': 3130,
'downloader/request_method_count/GET': 3130,
'downloader/response_bytes': 838034821,
'downloader/response_count': 3130,
'downloader/response_status_count/200': 3130,
'elapsed_time_seconds': 1181.106602,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 11, 19, 10, 49, 26, 334657, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 587173951,
'httpcompression/response_count': 2840,
'item_scraped_count': 142,
'log_count/DEBUG': 30447,
'log_count/INFO': 27070,
'memusage/max': 237850624,
'memusage/startup': 126443520,
'photo_download_count': 2840,
'request_depth_max': 8,
'response_received_count': 290,
'scheduler/dequeued': 3130,
'scheduler/dequeued/memory': 3130,
'scheduler/enqueued': 3130,
'scheduler/enqueued/memory': 3130,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 297,
'scrapy-zyte-api/error_ratio': 0.02356902356902357,
'scrapy-zyte-api/error_types/download/temporary-error': 7,
'scrapy-zyte-api/errors': 7,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 7.972788728798681,
'scrapy-zyte-api/mean_response_seconds': 8.262785863808904,
'scrapy-zyte-api/processed': 290,
'scrapy-zyte-api/request_args/actions': 5,
'scrapy-zyte-api/request_args/browserHtml': 147,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 142,
'scrapy-zyte-api/request_args/experimental.requestCookies': 288,
'scrapy-zyte-api/request_args/experimental.responseCookies': 290,
'scrapy-zyte-api/request_args/httpResponseBody': 143,
'scrapy-zyte-api/request_args/httpResponseHeaders': 143,
'scrapy-zyte-api/request_args/requestHeaders': 5,
'scrapy-zyte-api/request_args/url': 290,
'scrapy-zyte-api/status_codes/200': 290,
'scrapy-zyte-api/status_codes/520': 7,
'scrapy-zyte-api/success': 290,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 11, 19, 10, 29, 45, 228055, tzinfo=datetime.timezone.utc)}
2025-11-19 10:49:26 [scrapy.core.engine] INFO: Spider closed (finished)
2025-11-19 10:49:26 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f26306b2ed0>
2025-11-19 10:49:26 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f26306b3710>