Head
2025-12-05 12:46:42 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:46:42 [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:46:42 [auto_selling_leboncoin.fr] INFO: Starting auto_selling_leboncoin.fr spider
2025-12-05 12:46:42 [auto_selling_leboncoin.fr] INFO: _job: 30f34638d1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:46:42 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:46:42 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:46:42 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:46:42 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:46:42 [scrapy.extensions.telnet] INFO: Telnet Password: b86e4f7adfab37f1
2025-12-05 12:46:42 [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:46:42 [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_leboncoin.fr/30f34638d1c111f0b120928152083da5.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:46:42 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:46:42 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:46:42 [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:46:42 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:46:42 [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:46:42 [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:46:42 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:46:42 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:46:42 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:46:42 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2025-12-05 12:46:42 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:46:42 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6027
2025-12-05 12:46:42 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:46:42 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:46:47 [auto_selling_leboncoin.fr] INFO: Scraper started with URL: https://www.leboncoin.fr/boutique/1641970/sv-automobile.htm and multipost_profile_id: 170e7f75-4fd1-4b8c-ac8b-69da57095289 and job_id: 30f34638d1c111f0b120928152083da5
2025-12-05 12:46:47 [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:47:42 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:48:42 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:48:56 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 129.622(s), this was the 1st time calling it.
2025-12-05 12:48:56 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.894779705091073 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:49:03 [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:49:42 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:50:42 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:51:14 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 266.834(s), this was the 2nd time calling it.
2025-12-05 12:51:14 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.304640756948126 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:51:20 [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:51:33 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.leboncoin.fr/boutique/1641970/sv-automobile.htm> (referer: https://www.leboncoin.fr/boutique/1641970/sv-automobile.htm) ['zyte-api']
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: Captured Zyte cookies: [{'name': '__Secure-Install', 'value': '5b484456-92aa-4e69-934a-7289b9a2d624', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 253402300798, 'httpOnly': False, 'secure': True}, {'name': 'cnfdVisitorId', 'value': '3162d2be-5d2e-47ec-8133-7fbc9a757b1f', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1922619092, 'httpOnly': False, 'secure': True}, {'name': 'datadome', 'value': 'pLt4GpVpfmU6YvxHKrNOWzC35gXZ3Wxak4qnfXMC0SyiNUyWlAQHF29rXQyxc8J9cErxEsIjbMJ2lwU7Wez0qfyCRB5VOjT_bY50qrp67r1BUjRah8MB4nPr_AFS1vvX', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1796475092, 'httpOnly': False, 'secure': True}]
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: Scrapy-formatted cookies: [{'name': '__Secure-Install', 'value': '5b484456-92aa-4e69-934a-7289b9a2d624', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': '3162d2be-5d2e-47ec-8133-7fbc9a757b1f', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'pLt4GpVpfmU6YvxHKrNOWzC35gXZ3Wxak4qnfXMC0SyiNUyWlAQHF29rXQyxc8J9cErxEsIjbMJ2lwU7Wez0qfyCRB5VOjT_bY50qrp67r1BUjRah8MB4nPr_AFS1vvX', 'domain': '.leboncoin.fr', 'path': '/'}]
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: Response headers after parse_dealer_home_page: {b'X-Amz-Cf-Pop': [b'CDG50-P2'], b'Date': [b'Fri, 05 Dec 2025 12:51:32 GMT'], b'Vary': [b'accept-encoding'], b'Strict-Transport-Security': [b'max-age=15768000'], b'Accept-Ch': [b'Sec-CH-UA,Sec-CH-UA-Mobile,Sec-CH-UA-Platform,Sec-CH-UA-Arch,Sec-CH-UA-Full-Version-List,Sec-CH-UA-Model,Sec-CH-Device-Memory'], b'Via': [b'1.1 6b4e2529be13169ec5ee4214df435daa.cloudfront.net (CloudFront)'], b'Set-Cookie': [b'datadome=pLt4GpVpfmU6YvxHKrNOWzC35gXZ3Wxak4qnfXMC0SyiNUyWlAQHF29rXQyxc8J9cErxEsIjbMJ2lwU7Wez0qfyCRB5VOjT_bY50qrp67r1BUjRah8MB4nPr_AFS1vvX; Max-Age=31536000; Domain=.leboncoin.fr; Path=/; Secure; SameSite=Lax'], b'Content-Security-Policy': [b'frame-ancestors *.leboncoin.fr *.leboncoin.io *.leboncoin.ci; report-uri https://api.leboncoin.fr/api/csp-report/v1/report/;'], b'Referrer-Policy': [b'no-referrer-when-downgrade'], b'Etag': [b'W/"iro6obum0ucfp5"'], b'Content-Security-Policy-Report-Only': [b'object-src *.leboncoin.fr *.leboncoin.io *.leboncoin.ci; frame-ancestors *.leboncoin.fr *.leboncoin.io *.leboncoin.ci; report-uri https://api.leboncoin.fr/api/csp-report/v1/report/;'], b'Content-Type': [b'text/html; charset=utf-8'], b'X-Cache': [b'Miss from cloudfront'], b'Cache-Control': [b'private, no-cache, no-store, max-age=0, must-revalidate'], b'X-Datadome': [b'protected'], b'X-Amz-Cf-Id': [b'bXdaws7sDrlOSH5MAtEISoY11lp1SCjEmOZIJq6Ilv3E_yOwhtMdZg==']}
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: defaultSearchOptions: {'limit': 10, 'filters': {'owner': {'user_id': 'a11e53f0-6788-429e-8e75-01ba7820d95b'}, 'enums': {'ad_type': ['offer']}, 'keywords': {'text': ''}, 'category': {'id': '1'}}}
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: cookies: [{'name': '__Secure-Install', 'value': '5b484456-92aa-4e69-934a-7289b9a2d624', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': '3162d2be-5d2e-47ec-8133-7fbc9a757b1f', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'pLt4GpVpfmU6YvxHKrNOWzC35gXZ3Wxak4qnfXMC0SyiNUyWlAQHF29rXQyxc8J9cErxEsIjbMJ2lwU7Wez0qfyCRB5VOjT_bY50qrp67r1BUjRah8MB4nPr_AFS1vvX', 'domain': '.leboncoin.fr', 'path': '/'}]
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: Payload for get listings: {'limit': 200, 'filters': {'owner': {'user_id': 'a11e53f0-6788-429e-8e75-01ba7820d95b'}, 'enums': {'ad_type': ['offer']}, 'keywords': {'text': ''}, 'category': {'id': '1'}}, 'offset': 0}
2025-12-05 12:51:33 [auto_selling_leboncoin.fr] INFO: Request: curl -X POST https://api.leboncoin.fr/finder/search --data-raw '{"filters": {"category": {"id": "1"}, "enums": {"ad_type": ["offer"]}, "keywords": {"text": ""}, "owner": {"user_id": "a11e53f0-6788-429e-8e75-01ba7820d95b"}}, "limit": 200, "offset": 0}' -H 'Accept: */*' -H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' -H 'Content-Type: application/json' -H 'Origin: https://www.leboncoin.fr' --cookie 'name=__Secure-Install; name=cnfdVisitorId; name=datadome'
2025-12-05 12:51:33 [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:35 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://api.leboncoin.fr/finder/search> (referer: https://www.leboncoin.fr/boutique/1641970/sv-automobile.htm) ['zyte-api']
2025-12-05 12:51:35 [auto_selling_leboncoin.fr] INFO: Found 26 listings on page 1
2025-12-05 12:51:35 [auto_selling_leboncoin.fr] INFO: Found listing with ID: 3074875484
2025-12-05 12:51:35 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2025-12-05 12:51:35 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:51:35 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1965
2025-12-05 12:51:35 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:51:35 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:51:35 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:35 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_leboncoin.fr%27%20and%20RowKey%20eq%20%273074875484%27 HTTP/1.1" 200 None
2025-12-05 12:51:35 [auto_selling_leboncoin.fr] INFO: Scrape type for 3074875484: 1
2025-12-05 12:51:35 [auto_selling_leboncoin.fr] INFO: Scraping new listing 3074875484
2025-12-05 12:51:35 [auto_selling_leboncoin.fr] INFO: Extracted item: {'auction_title': '',
Tail
'license_plate': None,
'link_to_web_offer': 'https://www.leboncoin.fr/ad/voitures/3060858637',
'listing': 'auction',
'make': 'DS',
'model': 'DS 7',
'odometer': 83990,
'odometer_reading_unit': 'km',
'origin_country_code': 'FR',
'original_photo_count': 14,
'photo_urls': ['https://img.leboncoin.fr/api/v1/lbcpb1/images/d3/c6/50/d3c6507c7aec59cbe0bc29ff89ff131aecf2d98e.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/1c/75/19/1c7519ca9b629ab46e1c1487461418f0c58f272d.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/53/1b/9c/531b9c8c8866f79588025f596793e8a463c55b0e.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/8a/ea/84/8aea84167b1e4756902ed6f00a3bfe238b835bcd.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/4d/2b/f4/4d2bf47b98f8ecf6a4e1135d610fcd07a354d6c5.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/cf/3e/83/cf3e83304b2220494d11dbc2e5bf1b4db4956c72.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/97/58/99/9758998d7cae6abac891c7c8cdac8a0d2dfebd82.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/6b/b3/b1/6bb3b117ca9c018cfc9b87b6bcb344cd9e893594.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/c2/8a/f9/c28af9510dabb9ff18540153620f0ae99ddd0938.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/56/d9/ad/56d9ad088213232c640ea2b4e00273e972715fdb.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/3d/2d/a5/3d2da5b1d5bc8ba31b9bcc2e868b4fa111dbbbf3.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/b3/67/73/b36773910ed98c9f65e4240b4aa4635eff591e17.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/84/01/9f8401d8d9d2882cf1689287794d1262ae7226a4.jpg?rule=ad-large',
'https://img.leboncoin.fr/api/v1/lbcpb1/images/da/63/b7/da63b7426c66378e487b5a216bfb0fbc6032e2dd.jpg?rule=ad-large'],
'photos': [{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 175433,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/d3/c6/50/d3c6507c7aec59cbe0bc29ff89ff131aecf2d98e.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 137895,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/1c/75/19/1c7519ca9b629ab46e1c1487461418f0c58f272d.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 128340,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/53/1b/9c/531b9c8c8866f79588025f596793e8a463c55b0e.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 180411,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/8a/ea/84/8aea84167b1e4756902ed6f00a3bfe238b835bcd.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 137759,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/4d/2b/f4/4d2bf47b98f8ecf6a4e1135d610fcd07a354d6c5.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 105162,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/cf/3e/83/cf3e83304b2220494d11dbc2e5bf1b4db4956c72.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 125977,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/97/58/99/9758998d7cae6abac891c7c8cdac8a0d2dfebd82.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 157127,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/6b/b3/b1/6bb3b117ca9c018cfc9b87b6bcb344cd9e893594.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 130645,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/c2/8a/f9/c28af9510dabb9ff18540153620f0ae99ddd0938.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 132200,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/b3/67/73/b36773910ed98c9f65e4240b4aa4635eff591e17.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 152802,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/56/d9/ad/56d9ad088213232c640ea2b4e00273e972715fdb.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 87109,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/3d/2d/a5/3d2da5b1d5bc8ba31b9bcc2e868b4fa111dbbbf3.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 118400,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/9f/84/01/9f8401d8d9d2882cf1689287794d1262ae7226a4.jpg?rule=ad-large',
'Width': 1200},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_dda0e7e3-3657-5b99-b1b8-cb738e1fdd63/dda0e7e3-3657-5b99-b1b8-cb738e1fdd63_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 80812,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/da/63/b7/da63b7426c66378e487b5a216bfb0fbc6032e2dd.jpg?rule=ad-large',
'Width': 1200}],
'price': 19990,
'price_includes_vat': False,
'registration_date': '2020-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'DS7 Crossback BlueHDI 130CV',
'transmission': 'automatic',
'trim': 'DS 7 Crossback BlueHDi 130ch Business Automatique 100g',
'vin': None,
'year': 2020}
2025-12-05 12:51:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_leboncoin.fr%27%20and%20RowKey%20eq%20%273060858637%27 HTTP/1.1" 200 None
2025-12-05 12:51:51 [auto_selling_leboncoin.fr] INFO: Saving data for 3060858637: {'created_time': 1764939111.150706, 'last_price_update_time': 1764939111.150718}
2025-12-05 12:51:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:51 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_leboncoin.fr',RowKey='3060858637') HTTP/1.1" 204 0
2025-12-05 12:51:51 [auto_selling_leboncoin.fr] INFO: No more listings found to scrape
2025-12-05 12:51:51 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:51:51 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:51:51 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:51:51 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:51:51 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:51:51 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 30f34638d1c111f0b120928152083da5
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:51:51 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:51:51 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:51 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:51:52 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:51:52 [auto_selling_leboncoin.fr] INFO: auto_selling_leboncoin.fr 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}
2025-12-05 12:51:52 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:51:52 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "GET /ScrapedListings()?$filter=PartitionKey%20eq%20%27auto_selling_leboncoin.fr%27%20and%20last_price_update_time%20lt%201763643112 HTTP/1.1" 200 None
2025-12-05 12:51:52 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (26 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_leboncoin.fr/30f34638d1c111f0b120928152083da5.jl
2025-12-05 12:51:52 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 9943,
'downloader/request_count': 17,
'downloader/request_method_count/GET': 16,
'downloader/request_method_count/POST': 1,
'downloader/response_bytes': 3105096,
'downloader/response_count': 17,
'downloader/response_status_count/200': 17,
'elapsed_time_seconds': 309.994575,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 51, 52, 327235, tzinfo=datetime.timezone.utc),
'item_scraped_count': 26,
'log_count/DEBUG': 1180,
'log_count/INFO': 785,
'memusage/max': 162766848,
'memusage/startup': 126738432,
'photo_download_count': 15,
'request_depth_max': 2,
'response_received_count': 2,
'scheduler/dequeued': 17,
'scheduler/dequeued/memory': 17,
'scheduler/enqueued': 17,
'scheduler/enqueued/memory': 17,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 4,
'scrapy-zyte-api/error_ratio': 0.5,
'scrapy-zyte-api/errors': 2,
"scrapy-zyte-api/exception_types/<class 'aiohttp.client_exceptions.ClientConnectorError'>": 2,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 7.015967010462191,
'scrapy-zyte-api/mean_response_seconds': 7.327562951482832,
'scrapy-zyte-api/processed': 2,
'scrapy-zyte-api/request_args/customHttpRequestHeaders': 2,
'scrapy-zyte-api/request_args/experimental.responseCookies': 1,
'scrapy-zyte-api/request_args/httpRequestBody': 1,
'scrapy-zyte-api/request_args/httpRequestMethod': 1,
'scrapy-zyte-api/request_args/httpResponseBody': 2,
'scrapy-zyte-api/request_args/httpResponseHeaders': 2,
'scrapy-zyte-api/request_args/responseCookies': 1,
'scrapy-zyte-api/request_args/url': 2,
'scrapy-zyte-api/status_codes/0': 2,
'scrapy-zyte-api/status_codes/200': 2,
'scrapy-zyte-api/success': 2,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2025, 12, 5, 12, 46, 42, 332660, tzinfo=datetime.timezone.utc)}
2025-12-05 12:51:52 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:51:52 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1498724950>
2025-12-05 12:51:52 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f1498725110>