Head
2025-12-05 12:48:42 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2025-12-05 12:48: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:48:42 [auto_selling_leboncoin.fr] INFO: Starting auto_selling_leboncoin.fr spider
2025-12-05 12:48:42 [auto_selling_leboncoin.fr] INFO: _job: 31219efcd1c111f0b120928152083da5, SCRAPY_JOB: None
2025-12-05 12:48:42 [scrapy.addons] INFO: Enabled addons:
[]
2025-12-05 12:48:42 [asyncio] DEBUG: Using selector: EpollSelector
2025-12-05 12:48:42 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2025-12-05 12:48:42 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2025-12-05 12:48:42 [scrapy.extensions.telnet] INFO: Telnet Password: 7b136f63c02e481a
2025-12-05 12:48: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:48: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/31219efcd1c111f0b120928152083da5.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:48:42 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:48:42 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2025-12-05 12:48: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:48:42 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2025-12-05 12:48: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:48: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:48:42 [scrapy.core.engine] INFO: Spider opened
2025-12-05 12:48:42 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:48:42 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-production-bus.servicebus.windows.net
2025-12-05 12:48:42 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
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:42 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6029
2025-12-05 12:48:42 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:48:42 [scrapy-playwright] INFO: Starting download handler
2025-12-05 12:48:47 [auto_selling_leboncoin.fr] INFO: Scraper started with URL: https://www.leboncoin.fr/boutique/2967608/ajb-action-auto-44.htm and multipost_profile_id: 0032a66d-6299-4df0-b6a8-0e2d15170990 and job_id: 31219efcd1c111f0b120928152083da5
2025-12-05 12:48: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:48:49 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.leboncoin.fr/boutique/2967608/ajb-action-auto-44.htm> (referer: https://www.leboncoin.fr/boutique/2967608/ajb-action-auto-44.htm) ['zyte-api']
2025-12-05 12:48:49 [auto_selling_leboncoin.fr] INFO: Captured Zyte cookies: [{'name': '__Secure-Install', 'value': 'e05b2783-3459-4296-944b-d831345fc1e1', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 253402300798, 'httpOnly': False, 'secure': True}, {'name': 'cnfdVisitorId', 'value': 'dcb9df5c-8c65-437e-ba29-0ef9ed9c3ec8', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1922618928, 'httpOnly': False, 'secure': True}, {'name': 'datadome', 'value': 'NmmnbQmD5OnNxV5PN2oV_pbgpwtFq9FR2Y8qV_ARuFNMqZaZtsmkqtRToDGTsTS3UTlDWwofXskcJGnXgDNFKvFCyQEjGwQmA4pMU8MUmVBAGYuMbvi7ObTi494YrffU', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1796474928, 'httpOnly': False, 'secure': True}]
2025-12-05 12:48:49 [auto_selling_leboncoin.fr] INFO: Scrapy-formatted cookies: [{'name': '__Secure-Install', 'value': 'e05b2783-3459-4296-944b-d831345fc1e1', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': 'dcb9df5c-8c65-437e-ba29-0ef9ed9c3ec8', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'NmmnbQmD5OnNxV5PN2oV_pbgpwtFq9FR2Y8qV_ARuFNMqZaZtsmkqtRToDGTsTS3UTlDWwofXskcJGnXgDNFKvFCyQEjGwQmA4pMU8MUmVBAGYuMbvi7ObTi494YrffU', 'domain': '.leboncoin.fr', 'path': '/'}]
2025-12-05 12:48:49 [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:48:48 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 e36c32cacca3348932522b77d9a47dca.cloudfront.net (CloudFront)'], b'Set-Cookie': [b'datadome=NmmnbQmD5OnNxV5PN2oV_pbgpwtFq9FR2Y8qV_ARuFNMqZaZtsmkqtRToDGTsTS3UTlDWwofXskcJGnXgDNFKvFCyQEjGwQmA4pMU8MUmVBAGYuMbvi7ObTi494YrffU; 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/"dooqa9v1qycg2m"'], 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'IpKIvzm3ikGM_Nla9tvlCRNquEWNEpaopY0walEDXtODRcyM6B-5CQ==']}
2025-12-05 12:48:49 [auto_selling_leboncoin.fr] INFO: defaultSearchOptions: {'limit': 10, 'filters': {'owner': {'user_id': '88fa19ce-885f-4eb9-ac08-1586c93f3ad0'}, 'enums': {'ad_type': ['offer']}, 'keywords': {'text': ''}, 'category': {'id': '1'}}}
2025-12-05 12:48:49 [auto_selling_leboncoin.fr] INFO: cookies: [{'name': '__Secure-Install', 'value': 'e05b2783-3459-4296-944b-d831345fc1e1', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': 'dcb9df5c-8c65-437e-ba29-0ef9ed9c3ec8', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'NmmnbQmD5OnNxV5PN2oV_pbgpwtFq9FR2Y8qV_ARuFNMqZaZtsmkqtRToDGTsTS3UTlDWwofXskcJGnXgDNFKvFCyQEjGwQmA4pMU8MUmVBAGYuMbvi7ObTi494YrffU', 'domain': '.leboncoin.fr', 'path': '/'}]
2025-12-05 12:48:49 [auto_selling_leboncoin.fr] INFO: Payload for get listings: {'limit': 200, 'filters': {'owner': {'user_id': '88fa19ce-885f-4eb9-ac08-1586c93f3ad0'}, 'enums': {'ad_type': ['offer']}, 'keywords': {'text': ''}, 'category': {'id': '1'}}, 'offset': 0}
2025-12-05 12:48:49 [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": "88fa19ce-885f-4eb9-ac08-1586c93f3ad0"}}, "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:48:49 [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:49:42 [scrapy.extensions.logstats] INFO: Crawled 1 pages (at 1 pages/min), scraped 0 items (at 0 items/min)
2025-12-05 12:49:55 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://api.leboncoin.fr/finder/search> (referer: https://www.leboncoin.fr/boutique/2967608/ajb-action-auto-44.htm) ['zyte-api']
2025-12-05 12:49:55 [auto_selling_leboncoin.fr] INFO: Found 20 listings on page 1
2025-12-05 12:49:55 [auto_selling_leboncoin.fr] INFO: Found listing with ID: 3030081690
2025-12-05 12:49:55 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_TENANT_ID, AZURE_CLIENT_ID
2025-12-05 12:49:55 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2025-12-05 12:49:56 [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:49:56 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2025-12-05 12:49:56 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxsourcingstorageprod.table.core.windows.net:443
2025-12-05 12:49:56 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:49:56 [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%273030081690%27 HTTP/1.1" 200 None
2025-12-05 12:49:56 [auto_selling_leboncoin.fr] INFO: Scrape type for 3030081690: 1
2025-12-05 12:49:56 [auto_selling_leboncoin.fr] INFO: Scraping new listing 3030081690
2025-12-05 12:49:56 [auto_selling_leboncoin.fr] INFO: Extracted item: {'auction_title': '',
'c_o_2_emission_value': None,
'category': None,
'color': 'Gris',
'currency': 'EUR',
'description': 'Mercedes Viano 3.0CDI V6 - 225CH Avantgarde utilitaire, gris, '
'15 cv, première mise en circulation le 01/06/2012, garantie 3 '
'mois.\n'
'\n'
'Prix TTC : 23 990,00 €\n'
Tail
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/46/ef/ea/46efea51392052e902a45782e8ea06c009c294ae.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 74741,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/1d/63/c4/1d63c4cc4c15c0a00c37a592fa5f638282e740d7.jpg?rule=ad-large',
'Width': 603},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 73279,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/d6/fd/d9/d6fdd99026de8b3bfcf3720e5452a07faf28c9fe.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 65618,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/fb/ab/28/fbab28defae31bd387c37266485e544545a78bf5.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 78171,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/33/1b/a3/331ba348ad96a745322ff26878840b8b006e91e6.jpg?rule=ad-large',
'Width': 602},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 78805,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/17/2f/77/172f77f6287f7c9fe4b770fd0c8070acd09bfeaf.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_7.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 72040,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/43/2f/ec/432fec84a7a862df83b7ce826534cee9d9641a60.jpg?rule=ad-large',
'Width': 600},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_8.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 71129,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/25/dc/bd/25dcbd51c6524865e8d6e23b7fa55e1a513040f0.jpg?rule=ad-large',
'Width': 599},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_9.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 83277,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/14/7d/df/147ddf11e8f9efa4ba39e754d465ba1f85f1590d.jpg?rule=ad-large',
'Width': 603},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_10.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 74550,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/f8/55/51/f85551a8e591fdb10e46be9c9611fd65021c8482.jpg?rule=ad-large',
'Width': 598},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_11.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 69770,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/e4/36/2a/e4362a2e9bbe591a884ff456a05c04cf1cbd5213.jpg?rule=ad-large',
'Width': 599},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_12.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 58805,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/07/20/6c/07206c3cc7eb3d5047e37795c13f679279c0b0cc.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_13.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 76669,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/0f/e7/2d/0fe72d686ef27d7bc7a06ef1f18105d76c4ffbd1.jpg?rule=ad-large',
'Width': 602},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_14.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 71275,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/7f/11/9b/7f119b7d6145b197f49dcf68200097a9585b65c5.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_15.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 55842,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/03/c1/c4/03c1c493efe121ed54da06368a141d61ce9a2bf4.jpg?rule=ad-large',
'Width': 602},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_16.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 52318,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/80/de/66/80de664921a2b1fc2dbb31ff01abf784825c91d5.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_17.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 71575,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/2d/c4/6a/2dc46ab6881948206195c49b85e2d4f05aadc229.jpg?rule=ad-large',
'Width': 601},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_18.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 63362,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/51/f5/bb/51f5bbc11e4aef5f60c399f472bd19c9b536bb8c.jpg?rule=ad-large',
'Width': 603},
{'BlobStorageUrl': 'https://alxproduction.blob.core.windows.net/top-deal-listing/listing_9f290b61-94c3-5a6a-a650-1f58539df9c1/9f290b61-94c3-5a6a-a650-1f58539df9c1_image_19.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 66177,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/ca/db/f6/cadbf6aa805609c9c570f0f3982d3db59d14697d.jpg?rule=ad-large',
'Width': 602}],
'price': 24990,
'price_includes_vat': False,
'registration_date': '2016-01-01',
'seats_number': 5,
'seller_name': None,
'title': 'Mercedes GLC 220D 170 SPORTLINE 4MATIC 4X4 BVA',
'transmission': 'automatic',
'trim': 'GLC 220 d 170ch Sportline 4Matic 9G-Tronic',
'vin': None,
'year': 2016}
2025-12-05 12:50:03 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:03 [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%273100916921%27 HTTP/1.1" 200 None
2025-12-05 12:50:03 [auto_selling_leboncoin.fr] INFO: Saving data for 3100916921: {'created_time': 1764939003.775835, 'last_price_update_time': 1764939003.775846}
2025-12-05 12:50:03 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:03 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "PATCH /ScrapedListings(PartitionKey='auto_selling_leboncoin.fr',RowKey='3100916921') HTTP/1.1" 204 0
2025-12-05 12:50:03 [auto_selling_leboncoin.fr] INFO: No more listings found to scrape
2025-12-05 12:50:03 [scrapy.core.engine] INFO: Closing spider (finished)
2025-12-05 12:50:03 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2025-12-05 12:50:03 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2025-12-05 12:50:03 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:50:03 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2025-12-05 12:50:03 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item 31219efcd1c111f0b120928152083da5
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2025-12-05 12:50:03 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2025-12-05 12:50:03 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:50:03 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2025-12-05 12:50:04 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2025-12-05 12:50:04 [auto_selling_leboncoin.fr] INFO: auto_selling_leboncoin.fr Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 9, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2025-12-05 12:50:05 [urllib3.connectionpool] DEBUG: https://alxsourcingstorageprod.table.core.windows.net:443 "POST /Tables HTTP/1.1" 409 None
2025-12-05 12:50:05 [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%201763643005 HTTP/1.1" 200 None
2025-12-05 12:50:05 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (20 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_leboncoin.fr/31219efcd1c111f0b120928152083da5.jl
2025-12-05 12:50:05 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 763,
'downloader/request_count': 2,
'downloader/request_method_count/GET': 1,
'downloader/request_method_count/POST': 1,
'downloader/response_bytes': 858281,
'downloader/response_count': 2,
'downloader/response_status_count/200': 2,
'elapsed_time_seconds': 82.679084,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 12, 5, 12, 50, 5, 102522, tzinfo=datetime.timezone.utc),
'item_scraped_count': 20,
'log_count/DEBUG': 736,
'log_count/INFO': 483,
'memusage/max': 147070976,
'memusage/startup': 126943232,
'request_depth_max': 1,
'response_received_count': 2,
'scheduler/dequeued': 2,
'scheduler/dequeued/memory': 2,
'scheduler/enqueued': 2,
'scheduler/enqueued/memory': 2,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 2,
'scrapy-zyte-api/error_ratio': 0.0,
'scrapy-zyte-api/errors': 0,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 33.81242172996281,
'scrapy-zyte-api/mean_response_seconds': 34.12001742742723,
'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/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, 48, 42, 423438, tzinfo=datetime.timezone.utc)}
2025-12-05 12:50:05 [scrapy.core.engine] INFO: Spider closed (finished)
2025-12-05 12:50:05 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fde02130910>
2025-12-05 12:50:05 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fde02131150>