• It's recommended to check out the latest log via: the Stats page >> View log >> Tail

PROJECT (sourcing_v2), SPIDER (auto_selling_subito.it)

2025-12-05 12:50:16 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:50:16 [scrapy.utils.log] INFO: Versions: lxml 5.2.2.0, libxml2 2.12.6, cssselect 1.2.0, parsel 1.9.1, w3lib 2.1.2, Twisted 24.3.0, Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0], pyOpenSSL 24.1.0 (OpenSSL 3.2.1 30 Jan 2024), cryptography 42.0.7, Platform Linux-5.15.0-1098-azure-x86_64-with-glibc2.36
2025-12-05 12:50:16 [auto_selling_subito.it] INFO: Starting auto_selling_subito.it spider
2025-12-05 12:50:16 [auto_selling_subito.it] INFO: _job: 3129a62ed1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:50:16 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:50:17 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:50:17 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:50:17 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:50:17 [scrapy.extensions.telnet] INFO: Telnet Password: b84c3b91db70c4e4
2025-12-05 12:50:17 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
 'scrapy.extensions.telnet.TelnetConsole',
 'scrapy.extensions.memusage.MemoryUsage',
 'scrapy.extensions.feedexport.FeedExporter',
 'scrapy.extensions.logstats.LogStats',
 'scrapy.extensions.closespider.CloseSpider']
2025-12-05 12:50:17 [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_subito.it/3129a62ed1c111f0b120928152083da5.log',
 'LOG_FORMATTER': 'crawlers.log_formatter.SourcingLogFormatter',
 'NEWSPIDER_MODULE': 'spiders',
 'REQUEST_FINGERPRINTER_CLASS': 'scrapy_zyte_api.ScrapyZyteAPIRequestFingerprinter',
 'REQUEST_FINGERPRINTER_IMPLEMENTATION': '2.7',
 'SPIDER_MODULES': ['spiders', 'auth_check'],
 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor',
 'USER_AGENT': ''}
2025-12-05 12:50:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:50:17 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:50:17 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware',
 'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
 'scrapy_zyte_api.ScrapyZyteAPIDownloaderMiddleware',
 'scrapy.downloadermiddlewares.retry.RetryMiddleware',
 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
 'scrapy.downloadermiddlewares.stats.DownloaderStats']
2025-12-05 12:50:17 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:50:17 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
 'scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware',
 'scrapy.spidermiddlewares.referer.RefererMiddleware',
 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
 'scrapy.spidermiddlewares.depth.DepthMiddleware',
 'crawlers.middlewares.photo_download_middleware.PhotoDownloadMiddleware',
 'crawlers.auto_selling.middlewares.id_gen_middleware.IdGenMiddleware']
2025-12-05 12:50:17 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
 'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2025-12-05 12:50:17 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:50:17 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:50:17 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:50:17 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:50:17 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:50:17 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6028
2025-12-05 12:50:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:50:17 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:50:22 [auto_selling_subito.it] INFO: Scraper started with URL: https://impresapiu.subito.it/shops/37798-land-cars-srl and multipost_profile_id: 6aa629c3-e3f8-413a-aac7-4a205efe0700 and job_id: 3129a62ed1c111f0b120928152083da5
2025-12-05 12:50:22 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:50:26 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.subito.it/> (referer: None) ['zyte-api']
2025-12-05 12:50:26 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:51:17 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:51:31 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://impresapiu.subito.it/shops/37798-land-cars-srl> (referer: https://www.subito.it/) ['zyte-api']
2025-12-05 12:51:31 [auto_selling_subito.it] INFO: response: <200 https://impresapiu.subito.it/shops/37798-land-cars-srl>
2025-12-05 12:51:31 [auto_selling_subito.it] INFO: Title at home page 9
                            annunci
2025-12-05 12:51:31 [auto_selling_subito.it] INFO: Total number of items: 9
2025-12-05 12:51:31 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:52:17 [scrapy.extensions.logstats] INFO: Crawled 2 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:52:28 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 56.360(s), this was the 1st time calling it.
2025-12-05 12:52:28 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.835331508951594 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 12:52:28 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': 'd37ccfc2274f56fe8e3ee03ef8aa7a56', '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=d37ccfc2274f56fe8e3ee03ef8aa7a56.
2025-12-05 12:52:34 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2025-12-05 12:53:07 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 96.068(s), this was the 2nd time calling it.
2025-12-05 12:53:07 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.722640602523779 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 12:53:07 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '57fe05852bec13ee72d93bbcf41b200e', '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=57fe05852bec13ee72d93bbcf41b200e.
2025-12-05 12:53:13 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 3rd time calling it.
2025-12-05 12:53:17 [scrapy.extensions.logstats] INFO: Crawled 2 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:54:17 [scrapy.extensions.logstats] INFO: Crawled 2 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:54:44 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 193.052(s), this was the 3rd time calling it.
2025-12-05 12:54:44 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 7.729445810207834 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 12:54:44 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '3835efb398996b5f739343901d3031db', '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=3835efb398996b5f739343901d3031db.
2025-12-05 12:54:52 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 4th time calling it.
2025-12-05 12:55:17 [scrapy.extensions.logstats] INFO: Crawled 2 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:55:37 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://impresapiu.subito.it/shops/37798-land-cars-srl/?page=1> (referer: https://impresapiu.subito.it/shops/37798-land-cars-srl) ['zyte-api']
2025-12-05 12:55:37 [auto_selling_subito.it] INFO: Parsing page 1
2025-12-05 12:55:37 [auto_selling_subito.it] INFO: Found 0 listings on page 1
2025-12-05 12:55:37 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:56:17 [scrapy.extensions.logstats] INFO: Crawled 3 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:57:17 [scrapy.extensions.logstats] INFO: Crawled 3 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:57:47 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 129.778(s), this was the 1st time calling it.
2025-12-05 12:57:47 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.037075773418646 seconds as it raised ClientConnectorError: Cannot connect to host api.zyte.com:443 ssl:default [Connect call failed ('69.41.180.81', 443)].
2025-12-05 12:57:52 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2025-12-05 12:58:17 [scrapy.extensions.logstats] INFO: Crawled 3 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:58:42 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://impresapiu.subito.it/shops/37798-land-cars-srl/?page=2> (referer: https://block.charter-prod.hosted.cujo.io/warn.html?url=http://shop.subito-pro.subito.ai/shops/37798-land-cars-srl?page=1&token=ab7043ad) ['zyte-api']
2025-12-05 12:58:42 [auto_selling_subito.it] INFO: Parsing page 2
2025-12-05 12:58:42 [auto_selling_subito.it] INFO: Found 0 listings on page 2
2025-12-05 12:58:42 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2025-12-05 12:59:17 [scrapy.extensions.logstats] INFO: Crawled 4 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:59:54 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 72.146(s), this was the 1st time calling it.
2025-12-05 12:59:54 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 4.486436383638056 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 12:59:54 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': 'eadf08b81a31d11c1f005dadc58c1cae', '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=eadf08b81a31d11c1f005dadc58c1cae.
2025-12-05 12:59:58 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2025-12-05 13:00:17 [scrapy.extensions.logstats] INFO: Crawled 4 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 13:00:32 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 110.209(s), this was the 2nd time calling it.
2025-12-05 13:00:32 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.824512352808346 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 13:00:32 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '25bf3b9e3b17c41b2ae8334cef933c6a', '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=25bf3b9e3b17c41b2ae8334cef933c6a.
2025-12-05 13:00:38 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 3rd time calling it.
2025-12-05 13:01:03 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 141.116(s), this was the 3rd time calling it.
2025-12-05 13:01:03 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 5.680163623777171 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 13:01:03 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '0a9887dbebf53bdca64f1d4021c925ea', '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=0a9887dbebf53bdca64f1d4021c925ea.
2025-12-05 13:01:09 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 4th time calling it.
2025-12-05 13:01:17 [scrapy.extensions.logstats] INFO: Crawled 4 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 13:02:05 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 203.025(s), this was the 4th time calling it.
2025-12-05 13:02:05 [scrapy_zyte_api.handler] DEBUG: Got Zyte API error (status=520, type='/download/website-ban', request_id='efed28f9567ae78926507141b0d4e2a4') while processing URL (https://impresapiu.subito.it/shops/37798-land-cars-srl/?page=3): 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
2025-12-05 13:02:05 [auto_selling_subito.it] ERROR: Failure while loading page: [Failure instance: Traceback: <class 'zyte_api._errors.RequestError'>: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 05 Dec 2025 13:02:05 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '252', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': 'efed28f9567ae78926507141b0d4e2a4', '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=efed28f9567ae78926507141b0d4e2a4
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:916:errback
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:984:_startRunCallbacks
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:1078:_runCallbacks
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:1949:_gotResultInlineCallbacks
--- <exception caught here> ---
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:1999:_inlineCallbacks
/usr/local/lib/python3.11/dist-packages/twisted/python/failure.py:519:throwExceptionIntoGenerator
/usr/local/lib/python3.11/dist-packages/scrapy/core/downloader/middleware.py:54:process_request
/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py:1251:adapt
/usr/local/lib/python3.11/dist-packages/scrapy_zyte_api/handler.py:257:_download_request
/usr/local/lib/python3.11/dist-packages/zyte_api/_async.py:54:get
/usr/local/lib/python3.11/dist-packages/zyte_api/_async.py:168:get
/usr/local/lib/python3.11/dist-packages/tenacity/_asyncio.py:142:async_wrapped
/usr/local/lib/python3.11/dist-packages/tenacity/_asyncio.py:58:__call__
/usr/local/lib/python3.11/dist-packages/tenacity/_asyncio.py:110:iter
/usr/local/lib/python3.11/dist-packages/tenacity/_asyncio.py:78:inner
/usr/local/lib/python3.11/dist-packages/tenacity/__init__.py:410:exc_check
/usr/local/lib/python3.11/dist-packages/tenacity/__init__.py:183:reraise
/usr/lib/python3.11/concurrent/futures/_base.py:449:result
/usr/lib/python3.11/concurrent/futures/_base.py:401:__get_result
/usr/local/lib/python3.11/dist-packages/tenacity/_asyncio.py:61:__call__
/usr/local/lib/python3.11/dist-packages/zyte_api/_async.py:142:request
]
2025-12-05 13:02:05 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 13:02:05 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 13:02:05 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: None -> <ConnectionState.START: 0>
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.START: 0> -> <ConnectionState.HDR_SENT: 2>
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.HDR_SENT: 2>
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.HDR_SENT: 2> -> <ConnectionState.OPEN_PIPE: 4>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.UNMAPPED: 0> -> <SessionState.BEGIN_SENT: 1>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPEN_PIPE: 4> -> <ConnectionState.OPEN_SENT: 7>
2025-12-05 13:02:05 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPEN_SENT: 7> -> <ConnectionState.OPENED: 9>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.BEGIN_SENT: 1> -> <SessionState.MAPPED: 3>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-12-05 13:02:05 [azure.servicebus._pyamqp.cbs] DEBUG: CBS completed opening with status: <ManagementOpenResult.OK: 1>
2025-12-05 13:02:05 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 13:02:06 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1946
2025-12-05 13:02:06 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS update in progress. Token put time: 1764939726
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS update in progress. Token put time: 1764939726
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS Put token result (<ManagementExecuteOperationResult.OK: 0>), status code: 202, status_description: b'Accepted'.
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACHED: 0> -> <LinkState.ATTACH_SENT: 1>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACH_SENT: 1> -> <LinkState.ATTACHED: 3>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:02:06 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 13:02:06 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 3129a62ed1c111f0b120928152083da5
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 13:02:06 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 13:02:06 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:02:06 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 13:02:06 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 13:02:06 [auto_selling_subito.it] INFO: auto_selling_subito.it Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 0, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 13:02:06 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 13:02:06 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 13:02:06 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1970
2025-12-05 13:02:06 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 13:02:06 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 13:02:07 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 13:02:07 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_subito.it%27%20and%20last_price_update_time%20lt%201763643726 HTTP/1.1" 200 None
2025-12-05 13:02:07 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (0 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_subito.it/3129a62ed1c111f0b120928152083da5.jl
2025-12-05 13:02:07 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 1,
 'downloader/exception_type_count/zyte_api._errors.RequestError': 1,
 'downloader/request_bytes': 1801,
 'downloader/request_count': 5,
 'downloader/request_method_count/GET': 5,
 'downloader/response_bytes': 227762,
 'downloader/response_count': 4,
 'downloader/response_status_count/200': 4,
 'elapsed_time_seconds': 709.830468,
 'feedexport/success_count/FileFeedStorage': 1,
 'finish_reason': 'finished',
 'finish_time': datetime.datetime(2025, 12, 5, 13, 2, 7, 95804, tzinfo=datetime.timezone.utc),
 'log_count/DEBUG': 54,
 'log_count/ERROR': 1,
 'log_count/INFO': 75,
 'memusage/max': 140247040,
 'memusage/startup': 126599168,
 'request_depth_max': 4,
 'response_received_count': 4,
 'scheduler/dequeued': 5,
 'scheduler/dequeued/memory': 5,
 'scheduler/enqueued': 5,
 'scheduler/enqueued/memory': 5,
 'scrapy-zyte-api/429': 0,
 'scrapy-zyte-api/attempts': 12,
 'scrapy-zyte-api/error_ratio': 0.6666666666666666,
 'scrapy-zyte-api/error_types/download/website-ban': 7,
 'scrapy-zyte-api/errors': 8,
 "scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 1,
 'scrapy-zyte-api/fatal_errors': 1,
 'scrapy-zyte-api/mean_connection_seconds': 48.292661656593815,
 'scrapy-zyte-api/mean_response_seconds': 40.99578496473259,
 'scrapy-zyte-api/processed': 5,
 'scrapy-zyte-api/request_args/actions': 3,
 'scrapy-zyte-api/request_args/browserHtml': 3,
 'scrapy-zyte-api/request_args/customHttpRequestHeaders': 1,
 'scrapy-zyte-api/request_args/experimental.requestCookies': 4,
 'scrapy-zyte-api/request_args/experimental.responseCookies': 5,
 'scrapy-zyte-api/request_args/httpResponseBody': 2,
 'scrapy-zyte-api/request_args/httpResponseHeaders': 2,
 'scrapy-zyte-api/request_args/requestHeaders': 3,
 'scrapy-zyte-api/request_args/sessionContext': 2,
 'scrapy-zyte-api/request_args/url': 5,
 'scrapy-zyte-api/status_codes/0': 1,
 'scrapy-zyte-api/status_codes/200': 4,
 'scrapy-zyte-api/status_codes/520': 7,
 'scrapy-zyte-api/success': 4,
 'scrapy-zyte-api/success_ratio': 0.8,
 'scrapy-zyte-api/throttle_ratio': 0.0,
 'start_time': datetime.datetime(2025, 12, 5, 12, 50, 17, 265336, tzinfo=datetime.timezone.utc)}
2025-12-05 13:02:07 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 13:02:07 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fd98dd5c8d0>
2025-12-05 13:02:07 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fd98dd5d150>

PROJECT (sourcing_v2), SPIDER (auto_selling_subito.it)