Head
2026-03-30 15:03:47 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-03-30 15:03:47 [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
2026-03-30 15:03:47 [auto_selling_coches.net.api] INFO: Starting auto_selling_coches.net.api spider (API-based)
2026-03-30 15:03:47 [auto_selling_coches.net.api] INFO: Extracted dealer slug: epicars
2026-03-30 15:03:47 [auto_selling_coches.net.api] INFO: _job: 4a530b462c1f11f18e133aacc95538c6, SCRAPY_JOB: None
2026-03-30 15:03:47 [scrapy.addons] INFO: Enabled addons:
[]
2026-03-30 15:03:47 [asyncio] DEBUG: Using selector: EpollSelector
2026-03-30 15:03:47 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-03-30 15:03:47 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-03-30 15:03:47 [scrapy.extensions.telnet] INFO: Telnet Password: e0823fca5475fa6f
2026-03-30 15:03:47 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.memusage.MemoryUsage',
'scrapy.extensions.feedexport.FeedExporter',
'scrapy.extensions.logstats.LogStats',
'scrapy.extensions.closespider.CloseSpider']
2026-03-30 15:03:47 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'SourcingV2',
'CLOSESPIDER_TIMEOUT': 3600,
'CONCURRENT_REQUESTS': 5,
'DOWNLOAD_MAXSIZE': 52428800,
'DOWNLOAD_WARNSIZE': 10485760,
'FEED_EXPORT_ENCODING': 'utf-8',
'LOG_FILE': '/var/log/scrapyd/logs/sourcing_v2/auto_selling_coches.net.api/4a530b462c1f11f18e133aacc95538c6.log',
'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
'MEMUSAGE_LIMIT_MB': 2048,
'MEMUSAGE_WARNING_MB': 1536,
'NEWSPIDER_MODULE': 'spiders',
'REQUEST_FINGERPRINTER_CLASS': 'scrapy_zyte_api.ScrapyZyteAPIRequestFingerprinter',
'REQUEST_FINGERPRINTER_IMPLEMENTATION': '2.7',
'SPIDER_MODULES': ['spiders', 'auth_check'],
'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor',
'USER_AGENT': ''}
2026-03-30 15:03:47 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-30 15:03:47 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-03-30 15:03:47 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware',
'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'scrapy_zyte_api.ScrapyZyteAPIDownloaderMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2026-03-30 15:03:47 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-03-30 15:03:47 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware',
'crawlers.middlewares.photo_download_middleware.PhotoDownloadMiddleware',
'crawlers.auto_selling.middlewares.id_gen_middleware.IdGenMiddleware']
2026-03-30 15:03:47 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-03-30 15:03:47 [scrapy.core.engine] INFO: Spider opened
2026-03-30 15:03:47 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-30 15:03:47 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2026-03-30 15:03:47 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-03-30 15:03:47 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-30 15:03:47 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6025
2026-03-30 15:03:47 [scrapy.extensions.memusage] INFO: Peak memory usage is 142MiB
2026-03-30 15:03:47 [scrapy-playwright] INFO: Starting download handler
2026-03-30 15:03:47 [scrapy-playwright] INFO: Starting download handler
2026-03-30 15:03:52 [auto_selling_coches.net.api] INFO: API spider started with URL: https://www.coches.net/concesionario/epicars, dealer_slug: epicars
2026-03-30 15:03:52 [auto_selling_coches.net.api] INFO: Trying fast dealer API: https://web.gw.coches.net/dealers/epicars
2026-03-30 15:03:52 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-30 15:03:53 [scrapy.core.engine] DEBUG: Crawled (400) <GET https://web.gw.coches.net/dealers/epicars> (referer: None) ['zyte-api']
2026-03-30 15:03:53 [auto_selling_coches.net.api] INFO: Search API failed (Ignoring non-200 response), falling back to browserHtml
2026-03-30 15:03:53 [auto_selling_coches.net.api] INFO: Using browserHtml fallback path (page 1)
2026-03-30 15:03:53 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-03-30 15:04:47 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2026-03-30 15:04:47 [scrapy.extensions.memusage] INFO: Peak memory usage is 151MiB
2026-03-30 15:05:28 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 94.417(s), this was the 1st time calling it.
2026-03-30 15:05:28 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.090991475281399 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Mon, 30 Mar 2026 15:05:28 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '693e534439fb962fa2d7187f37bfcc74', '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/website-ban","title":"Website Ban","status":520,"detail":"Zyte API could not get a ban-free response in a reasonable time. Please, check your URL query parameters. See https://docs.zyte.com/zyte-api/usage/errors.html#zapi-error-url"}', request_id=693e534439fb962fa2d7187f37bfcc74.
2026-03-30 15:05:33 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2026-03-30 15:05:47 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-03-30 15:05:47 [scrapy.extensions.memusage] INFO: Peak memory usage is 151MiB
2026-03-30 15:06:00 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.coches.net/concesionario/epicars?pg=1> (referer: None) ['zyte-api']
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Total items from HTML header: 34
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Extracting listings from HTML page 1
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Found 30 listings in HTML (page 1)
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Found listing with ID: 70293639
2026-03-30 15:06:00 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-03-30 15:06:00 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-03-30 15:06:00 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 2117
2026-03-30 15:06:00 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-03-30 15:06:00 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2026-03-30 15:06:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:06:00 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net.api%27%20and%20RowKey%20eq%20%2770293639%27 HTTP/1.1" 200 None
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Scrape type for 70293639: 1
2026-03-30 15:06:00 [auto_selling_coches.net.api] INFO: Scraping new listing 70293639
Tail
'make': 'BMW',
'model': 'Serie 3',
'odometer': 126000,
'odometer_reading_unit': 'km',
'origin_country_code': 'ES',
'original_photo_count': 1,
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_75c95208-2bd6-59e0-9aed-d1be056ec7b7/75c95208-2bd6-59e0-9aed-d1be056ec7b7_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 100106,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19761734/cfbcca04-869a-4eec-998d-396648dfb1e7.jpg',
'Width': 800}],
'price': 30990,
'price_includes_vat': True,
'registration_date': '2020-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'BMW Serie 3 320d xDrive Auto.',
'transmission': 'automatic',
'trim': '320d xDrive Auto.',
'vin': None,
'year': 2020}
2026-03-30 15:06:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:06:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net.api%27%20and%20RowKey%20eq%20%2770307669%27 HTTP/1.1" 200 None
2026-03-30 15:06:51 [auto_selling_coches.net.api] INFO: Saving data for 70307669: {'created_time': 1774883211.811018, 'last_price_update_time': 1774883211.811028}
2026-03-30 15:06:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:06:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net.api',RowKey='70307669') HTTP/1.1" 204 0
2026-03-30 15:07:17 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://web.gw.coches.net/details/62588855> (referer: https://www.coches.net/concesionario/epicars/?pg=1) ['zyte-api']
2026-03-30 15:07:17 [auto_selling_coches.net.api] INFO: Extracted item from API: 62588855 - VOLKSWAGEN Golf R 2.0 TSI 4Motion DSG
2026-03-30 15:07:17 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Generated ID for item: d30696ff-6753-5024-9cc6-4e5ef517f5c2 with identifier: 62588855
2026-03-30 15:07:17 [crawlers.middlewares.photo_download_middleware] INFO: Downloading 1 photos for item d30696ff-6753-5024-9cc6-4e5ef517f5c2
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /PhotoDownloadCache()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net.api%27%20and%20RowKey%20eq%20%27https%3A%252F%252Fa.ccdn.es%252Fcnet%252Fvehicles%252F19454840%252F1b0fed7f-8f03-47ac-b664-78cea945d0f0.jpg%27 HTTP/1.1" 200 None
2026-03-30 15:07:18 [crawlers.middlewares.photo_download_middleware] INFO: Image https://a.ccdn.es/cnet/vehicles/19454840/1b0fed7f-8f03-47ac-b664-78cea945d0f0.jpg already downloaded
2026-03-30 15:07:18 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: d30696ff-6753-5024-9cc6-4e5ef517f5c2 with identifier 62588855
2026-03-30 15:07:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-30 15:07:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-30 15:07:18 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item d30696ff-6753-5024-9cc6-4e5ef517f5c2
2026-03-30 15:07:18 [scrapy.core.scraper] DEBUG: Scraped from <200 https://web.gw.coches.net/details/62588855>
{'auction_title': '',
'body_type': 'Berlina',
'c_o_2_emission_value': 160,
'category': 'Coches',
'color': 'Azul',
'currency': 'EUR',
'description': 'LLEVATELO DESDE 432 € AL MES\n'
' VOLKSWAGEN GOLF R 2.0 TSI 300CV 86.500 KM AÑO 2019\n'
'\n'
'REVISION Y MANTENIMIENTOS RECIEN HECHOS EL VEHICULO SE '
'ENTREGA CON UN AÑO DE GARANTIA ETIQUETA MEDIOAMBIENTAL (C). '
'EXTRAS:\n'
'\n'
'*REVISIONES EN CASA OFICIAL \n'
'*TECHO SOLAR\n'
'*VOLANTE MULTIFUNCION CON LEVAS\n'
'*CAMBIO AUTOMATICO\n'
'*APPLE CARPLAY\n'
'*VIRTUAL COCKPIT\n'
'*APERTURA Y ARRANQUE SIN LLAVE\n'
'*CAMARA TRASERA\n'
'*CONTROL DE CRUCERO\n'
'*ELEVALUNAS ELECTRICOS\n'
'*TAPICERIA DE TELA\n'
'*RETROVISORES ELECTRICOS AVATIBLES\n'
'*SENSORES DE APARCAMIENTO\n'
'*ORDENADOR POR VOZ\n'
'*NAVEGADOR\n'
'*PANTALLA TACTIL\n'
'*CLIMATIZADOR DIGITAL BIZONA\n'
'*FAROS DE LED \n'
'*ISOFIX\n'
'*LLANTAS DE 19"\n'
'*TODO HOMOLOGADO EN FICHA \n'
'\n'
'\n'
'\n'
'ESTE ANUNCIO TIENE CARACTER COMERCIAL, PUEDE CONTENER ERRORES '
'Y CARECE DE VALOR CONTRACTUAL',
'doors_number': 5,
'emission_standard': 'C',
'engine': '2.0L',
'engine_horse_power': 300,
'expiration_date': None,
'fuel_type': 'Gasolina',
'id': 'd30696ff-6753-5024-9cc6-4e5ef517f5c2',
'is_damaged': False,
'is_operable': True,
'license_plate': None,
'link_to_web_offer': 'https://www.coches.net/volkswagen-golf-r-20-tsi-221kw-300cv-4motion-dsg-5p-gasolina-2019-en-madrid-62588855-covo.aspx',
'listing': 'auction',
'location': 'Madrid',
'make': 'VOLKSWAGEN',
'model': 'Golf',
'odometer': 86500,
'odometer_reading_unit': 'km',
'origin_country_code': 'ES',
'original_photo_count': 1,
'photo_urls': ['https://a.ccdn.es/cnet/vehicles/19454840/1b0fed7f-8f03-47ac-b664-78cea945d0f0.jpg'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_d30696ff-6753-5024-9cc6-4e5ef517f5c2/d30696ff-6753-5024-9cc6-4e5ef517f5c2_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 108619,
'Height': 600,
'OriginUrl': 'https://a.ccdn.es/cnet/vehicles/19454840/1b0fed7f-8f03-47ac-b664-78cea945d0f0.jpg',
'Width': 800}],
'price': 31990,
'price_includes_vat': True,
'registration_date': '2019-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'VOLKSWAGEN Golf R 2.0 TSI 4Motion DSG',
'transmission': 'automatic',
'trim': 'R 2.0 TSI 221kW 300CV 4Motion DSG',
'vin': None,
'year': 2019}
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net.api%27%20and%20RowKey%20eq%20%2762588855%27 HTTP/1.1" 200 None
2026-03-30 15:07:18 [auto_selling_coches.net.api] INFO: Saving data for 62588855: {'created_time': 1774883238.095677, 'last_price_update_time': 1774883238.095687}
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:07:18 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_coches.net.api',RowKey='62588855') HTTP/1.1" 204 0
2026-03-30 15:07:18 [scrapy.core.engine] INFO: Closing spider (finished)
2026-03-30 15:07:18 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-03-30 15:07:18 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-03-30 15:07:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-30 15:07:18 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-03-30 15:07:18 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 4a530b462c1f11f18e133aacc95538c6
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-03-30 15:07:18 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-03-30 15:07:18 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-30 15:07:18 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-03-30 15:07:19 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-03-30 15:07:19 [auto_selling_coches.net.api] INFO: auto_selling_coches.net.api Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 4, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-03-30 15:07:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2026-03-30 15:07:19 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_coches.net.api%27%20and%20last_price_update_time%20lt%201773587239 HTTP/1.1" 200 None
2026-03-30 15:07:19 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (34 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_coches.net.api/4a530b462c1f11f18e133aacc95538c6.jl
2026-03-30 15:07:19 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 71562,
'downloader/request_count': 41,
'downloader/request_method_count/GET': 41,
'downloader/response_bytes': 4721017,
'downloader/response_count': 41,
'downloader/response_status_count/200': 40,
'downloader/response_status_count/400': 1,
'elapsed_time_seconds': 211.842003,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 3, 30, 15, 7, 19, 512451, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 411177,
'httpcompression/response_count': 4,
'item_scraped_count': 34,
'log_count/DEBUG': 530,
'log_count/INFO': 411,
'memusage/max': 186126336,
'memusage/startup': 149692416,
'photo_download_count': 4,
'request_depth_max': 4,
'response_received_count': 37,
'scheduler/dequeued': 41,
'scheduler/dequeued/memory': 41,
'scheduler/enqueued': 41,
'scheduler/enqueued/memory': 41,
'scrape_type/new': 34,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 38,
'scrapy-zyte-api/error_ratio': 0.02631578947368421,
'scrapy-zyte-api/error_types/download/website-ban': 1,
'scrapy-zyte-api/errors': 1,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 10.288668859750032,
'scrapy-zyte-api/mean_response_seconds': 8.077127570991177,
'scrapy-zyte-api/processed': 37,
'scrapy-zyte-api/request_args/actions': 2,
'scrapy-zyte-api/request_args/browserHtml': 2,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 35,
'scrapy-zyte-api/request_args/experimental.requestCookies': 36,
'scrapy-zyte-api/request_args/experimental.responseCookies': 37,
'scrapy-zyte-api/request_args/httpResponseBody': 35,
'scrapy-zyte-api/request_args/httpResponseHeaders': 35,
'scrapy-zyte-api/request_args/requestHeaders': 1,
'scrapy-zyte-api/request_args/url': 37,
'scrapy-zyte-api/status_codes/200': 37,
'scrapy-zyte-api/status_codes/520': 1,
'scrapy-zyte-api/success': 37,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 3, 30, 15, 3, 47, 670448, tzinfo=datetime.timezone.utc)}
2026-03-30 15:07:19 [scrapy.core.engine] INFO: Spider closed (finished)
2026-03-30 15:07:19 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fc8c274b810>
2026-03-30 15:07:19 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fc8c27580d0>