Head
2026-01-09 10:00:33 [scrapy.utils.log] INFO: Scrapy 2.11.2 started (bot: SourcingV2)
2026-01-09 10:00:33 [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-01-09 10:00:33 [auto_selling_leboncoin.fr] INFO: Starting auto_selling_leboncoin.fr spider
2026-01-09 10:00:33 [auto_selling_leboncoin.fr] INFO: _job: fa751018ed4111f0b2fbdec23cc99c42, SCRAPY_JOB: None
2026-01-09 10:00:33 [scrapy.addons] INFO: Enabled addons:
[]
2026-01-09 10:00:33 [asyncio] DEBUG: Using selector: EpollSelector
2026-01-09 10:00:33 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor
2026-01-09 10:00:33 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop
2026-01-09 10:00:33 [scrapy.extensions.telnet] INFO: Telnet Password: 3b260b820bea6059
2026-01-09 10:00:33 [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-01-09 10:00:33 [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/fa751018ed4111f0b2fbdec23cc99c42.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': ''}
2026-01-09 10:00:33 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-09 10:00:33 [scrapy_zyte_api.handler] INFO: Using a Zyte API key starting with '5857011'
2026-01-09 10:00:33 [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-01-09 10:00:33 [crawlers.auto_selling.middlewares.id_gen_middleware] INFO: Setting up IdGenerationMiddleware for auto_selling
2026-01-09 10:00:33 [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-01-09 10:00:33 [scrapy.middleware] INFO: Enabled item pipelines:
['crawlers.pipelines.post_to_azurebus_auto_selling.AzureBusPipelineAutoSelling',
'crawlers.pipelines.save_to_cdlq_db_auto_selling.SaveToCdlqDbAutoSelling']
2026-01-09 10:00:33 [scrapy.core.engine] INFO: Spider opened
2026-01-09 10:00:33 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-09 10:00:33 [common.service_bus.service_bus_client_factory] INFO: ServiceBusClient initialized via DefaultAzureCredential for alx-dev-bus.servicebus.windows.net
2026-01-09 10:00:33 [crawlers.pipelines.base_azure_bus_pipeline] INFO: [AzureBusPipeline] Connected to topic auto.sourcing-v2
2026-01-09 10:00:33 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2026-01-09 10:00:33 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6027
2026-01-09 10:00:33 [scrapy-playwright] INFO: Starting download handler
2026-01-09 10:00:33 [scrapy-playwright] INFO: Starting download handler
2026-01-09 10:00:38 [auto_selling_leboncoin.fr] INFO: Scraper started with URL: https://www.leboncoin.fr/boutique/1194034/carstrader.htm and multipost_profile_id: 2ecaecf9-8c82-4bb6-a678-7f93e1c0548f and job_id: fa751018ed4111f0b2fbdec23cc99c42
2026-01-09 10:00:38 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-09 10:00:40 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.leboncoin.fr/boutique/1194034/carstrader.htm> (referer: https://www.leboncoin.fr/boutique/1194034/carstrader.htm) ['zyte-api']
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: Captured Zyte cookies: [{'name': '__Secure-Install', 'value': '200ec401-c985-425f-8ffc-a7fa76c03f7f', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 253402300798, 'httpOnly': False, 'secure': True}, {'name': 'cnfdVisitorId', 'value': 'c442e7e6-57f3-49b3-97de-c166820a511b', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1925632839, 'httpOnly': False, 'secure': True}, {'name': 'datadome', 'value': 'pYZw~ACtICmdGWE2jUHXEp8_awNHST88FQ9qpU2tHKXNCowa0EtqU4Wcg4VJ0V6tFwddNspWVaYlAc3ajiVk9REZlyNAsnf5rIIJ~OOvdlZyZD1wYJXXpIvIXAt7w_n1', 'domain': '.leboncoin.fr', 'path': '/', 'expires': 1799488839, 'httpOnly': False, 'secure': True}]
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: Scrapy-formatted cookies: [{'name': '__Secure-Install', 'value': '200ec401-c985-425f-8ffc-a7fa76c03f7f', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': 'c442e7e6-57f3-49b3-97de-c166820a511b', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'pYZw~ACtICmdGWE2jUHXEp8_awNHST88FQ9qpU2tHKXNCowa0EtqU4Wcg4VJ0V6tFwddNspWVaYlAc3ajiVk9REZlyNAsnf5rIIJ~OOvdlZyZD1wYJXXpIvIXAt7w_n1', 'domain': '.leboncoin.fr', 'path': '/'}]
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: Response headers after parse_dealer_home_page: {b'X-Amz-Cf-Pop': [b'LHR3-P2'], b'Date': [b'Fri, 09 Jan 2026 10:00:39 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 f0debe9e5b406fad3e2938cd4c551b8e.cloudfront.net (CloudFront)'], b'Set-Cookie': [b'datadome=pYZw~ACtICmdGWE2jUHXEp8_awNHST88FQ9qpU2tHKXNCowa0EtqU4Wcg4VJ0V6tFwddNspWVaYlAc3ajiVk9REZlyNAsnf5rIIJ~OOvdlZyZD1wYJXXpIvIXAt7w_n1; 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/"ogtfbsybsld7f3"'], 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'M9CqsUKurbctl8EpNyLU-8Ob3pTAGeRhgfb5tjclKq9AqNpb2DZ2lg==']}
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: defaultSearchOptions: {'limit': 10, 'filters': {'owner': {'user_id': 'bb607875-7eb2-4ce2-841e-1429fdd3d94e'}, 'enums': {'ad_type': ['offer']}, 'category': {'id': '1'}}}
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: cookies: [{'name': '__Secure-Install', 'value': '200ec401-c985-425f-8ffc-a7fa76c03f7f', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'cnfdVisitorId', 'value': 'c442e7e6-57f3-49b3-97de-c166820a511b', 'domain': '.leboncoin.fr', 'path': '/'}, {'name': 'datadome', 'value': 'pYZw~ACtICmdGWE2jUHXEp8_awNHST88FQ9qpU2tHKXNCowa0EtqU4Wcg4VJ0V6tFwddNspWVaYlAc3ajiVk9REZlyNAsnf5rIIJ~OOvdlZyZD1wYJXXpIvIXAt7w_n1', 'domain': '.leboncoin.fr', 'path': '/'}]
2026-01-09 10:00:40 [auto_selling_leboncoin.fr] INFO: Payload for get listings: {'limit': 200, 'filters': {'owner': {'user_id': 'bb607875-7eb2-4ce2-841e-1429fdd3d94e'}, 'enums': {'ad_type': ['offer']}, 'category': {'id': '1'}}, 'offset': 0}
2026-01-09 10:00:40 [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"]}, "owner": {"user_id": "bb607875-7eb2-4ce2-841e-1429fdd3d94e"}}, "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'
2026-01-09 10:00:40 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 1st time calling it.
2026-01-09 10:01:02 [zyte_api._retry] DEBUG: Finished call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request' after 21.551(s), this was the 1st time calling it.
2026-01-09 10:01:02 [zyte_api._retry] DEBUG: Retrying zyte_api._async.AsyncZyteAPI.get.<locals>.request in 6.866645867096314 seconds as it raised RequestError: RequestError: 520, message=, headers=<CIMultiDictProxy('Date': 'Fri, 09 Jan 2026 10:01:02 GMT', 'Content-Type': 'application/problem+json', 'Content-Length': '214', 'Connection': 'keep-alive', 'Retry-After': '60', 'Request-Id': '3019b61c0cf7276626954a73e99d9665', '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/temporary-error","title":"Website Ban","status":520,"detail":"Zyte API could not get a ban-free response in a reasonable time. See https://docs.zyte.com/zyte-api/usage/errors.html#ban-responses"}', request_id=3019b61c0cf7276626954a73e99d9665.
2026-01-09 10:01:09 [zyte_api._retry] DEBUG: Starting call to 'zyte_api._async.AsyncZyteAPI.get.<locals>.request', this is the 2nd time calling it.
2026-01-09 10:01:11 [scrapy.core.engine] DEBUG: Crawled (200) <POST https://api.leboncoin.fr/finder/search> (referer: https://www.leboncoin.fr/boutique/1194034/carstrader.htm) ['zyte-api']
2026-01-09 10:01:11 [auto_selling_leboncoin.fr] INFO: Found 49 listings on page 1
2026-01-09 10:01:11 [auto_selling_leboncoin.fr] INFO: Found listing with ID: 3100847264
2026-01-09 10:01:11 [azure.identity._credentials.environment] INFO: Incomplete environment configuration for EnvironmentCredential. These variables are set: AZURE_CLIENT_ID, AZURE_TENANT_ID
2026-01-09 10:01:11 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-09 10:01:11 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1945
2026-01-09 10:01:11 [azure.identity._credentials.chained] INFO: DefaultAzureCredential acquired a token from WorkloadIdentityCredential
2026-01-09 10:01:11 [auto_selling_leboncoin.fr] INFO: Scrape type for 3100847264: 1
2026-01-09 10:01:11 [auto_selling_leboncoin.fr] INFO: Scraping new listing 3100847264
2026-01-09 10:01:11 [auto_selling_leboncoin.fr] INFO: Extracted item: {'auction_title': '',
'c_o_2_emission_value': None,
'category': None,
'color': 'Rouge',
'currency': 'EUR',
'description': 'Nous sommes basés dans le Tarn, entre albi et Toulouse\xa0\n'
'Services\xa0 disponibles :\n'
'Livraison à domicile possible, ou accueil en gare de Gaillac '
'/ aéroport de Toulouse\n'
'Personnalisation sur demande (accessoires, attelage, options, '
'etc.)\n'
Tail
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Container_client: <azure.storage.blob._container_client.ContainerClient object at 0x7f8a915fb490>
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Creating container if not exists
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1943
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxdev.blob.core.windows.net:443
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://alxdev.blob.core.windows.net:443 "PUT /top-deal-listing?restype=container HTTP/1.1" 409 230
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Container already exists, skipping creation
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://alxdev.blob.core.windows.net:443 "PUT /top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_1.jpg HTTP/1.1" 201 0
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: Image https://img.leboncoin.fr/api/v1/lbcpb1/images/57/cc/ce/57ccce950f2a3d8775ab24caf23acc1ba41d8255.jpg?rule=ad-large saved to cache
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: Downloaded image 1 for item cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Using managed identity for Azure Blob Storage
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Using managed identity with client ID: 36f195bf-b061-498b-bebd-997f7853af90
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Creating container client for top-deal-listing
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Container_client: <azure.storage.blob._container_client.ContainerClient object at 0x7f8a92e15a90>
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Creating container if not exists
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): login.microsoftonline.com:443
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://login.microsoftonline.com:443 "POST /8ea908c1-4e85-4692-bc3f-3646b9b40891/oauth2/v2.0/token HTTP/1.1" 200 1949
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): alxdev.blob.core.windows.net:443
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://alxdev.blob.core.windows.net:443 "PUT /top-deal-listing?restype=container HTTP/1.1" 409 230
2026-01-09 10:01:38 [common.azure_blobstore] INFO: Container already exists, skipping creation
2026-01-09 10:01:38 [urllib3.connectionpool] DEBUG: https://alxdev.blob.core.windows.net:443 "PUT /top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_3.jpg HTTP/1.1" 201 0
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: Image https://img.leboncoin.fr/api/v1/lbcpb1/images/be/11/7f/be117f871f3de2ab07d8169ad8aec8a6eb9a59f8.jpg?rule=ad-large saved to cache
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: Downloaded image 3 for item cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: Removing item cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35 from tracking dictionaries
2026-01-09 10:01:38 [crawlers.middlewares.photo_download_middleware] INFO: All photos downloaded for item cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35 sending to next pipeline
2026-01-09 10:01:38 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: Azure Bus Pipeline processing item: cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35 with identifier 3124333489
2026-01-09 10:01:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-09 10:01:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-09 10:01:38 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process item CloudEvent for item cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35
2026-01-09 10:01:38 [scrapy.core.scraper] DEBUG: Scraped from <200 https://img.leboncoin.fr/api/v1/lbcpb1/images/be/11/7f/be117f871f3de2ab07d8169ad8aec8a6eb9a59f8.jpg?rule=ad-large>
{'auction_title': '',
'c_o_2_emission_value': None,
'category': None,
'color': 'Blanc',
'currency': 'EUR',
'description': 'RENAULT CLIO V 1.5 Blue dCi 85 CV Société TVA RECUPERABLE '
'Garantie 12 Mois, berline, blanc, 4 cv, 5 portes, première '
'mise en circulation le 19/06/2020.\n'
'\n'
'Prix TTC : 9 490 €\n'
'La TVA est récupérable sur ce véhicule.\n'
'\n'
'2 places\n'
'\n'
'Emission de CO2 : 109 g CO2/km\n'
'Consommation mixte : 4.2 L/100\n'
'Kilométrage compteur\n'
'\n'
'OPTIONS ET ÉQUIPEMENTS :\n'
'Sécurité :\n'
' - Roue de secours ?galette?\n'
'\n'
'Référence annonce : 1685-0000133',
'doors_number': 5,
'emission_standard': None,
'engine': None,
'engine_horse_power': 85,
'expiration_date': None,
'fuel_type': 'Diesel',
'id': 'cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35',
'is_damaged': False,
'is_operable': True,
'license_plate': None,
'link_to_web_offer': 'https://www.leboncoin.fr/ad/voitures/3124333489',
'listing': 'auction',
'make': 'RENAULT',
'model': 'Clio',
'odometer': 79000,
'odometer_reading_unit': 'km',
'origin_country_code': 'FR',
'original_photo_count': 7,
'photos': [{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_0.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 102497,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/b3/c5/7f/b3c57f98082be3ad0c51c66878d105aa91e5cc09.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_1.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 116615,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/57/cc/ce/57ccce950f2a3d8775ab24caf23acc1ba41d8255.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_2.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 115909,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/ac/e6/85/ace685fed37bdb0518afffd0926416ad79110167.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_3.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 117344,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/be/11/7f/be117f871f3de2ab07d8169ad8aec8a6eb9a59f8.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_4.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 97349,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/63/1d/09/631d0974c26b04e8876429b8e805442773bc6c9c.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_5.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 72779,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/88/15/d8/8815d86e9d335682fec2b9a6693ac95c6b33802f.jpg?rule=ad-large',
'Width': 1067},
{'BlobStorageUrl': 'https://alxdev.blob.core.windows.net/top-deal-listing/listing_cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35/cb9792d0-9d97-5c7b-b0c3-1ca9eace4d35_image_6.jpg',
'Extension': 'jpg',
'FileSizeInBytes': 89210,
'Height': 800,
'OriginUrl': 'https://img.leboncoin.fr/api/v1/lbcpb1/images/d4/42/6d/d4426dd955e3edfe143fce78410a55d91122e3ef.jpg?rule=ad-large',
'Width': 1067}],
'price': 9490,
'price_includes_vat': False,
'registration_date': '2020-06-01',
'seats_number': 2,
'seller_name': None,
'title': 'RENAULT CLIO V 1.5 Blue dCi 85 CV Société TVA RECUPERABLE Garantie '
'12 Mois',
'transmission': 'manual',
'trim': 'Clio 1.5 Blue dCi 85ch Business',
'vin': None,
'year': 2020}
2026-01-09 10:01:38 [auto_selling_leboncoin.fr] INFO: Saving data for 3124333489: {'created_time': 1767952898.849636, 'last_price_update_time': 1767952898.849648}
2026-01-09 10:01:38 [scrapy.core.engine] INFO: Closing spider (finished)
2026-01-09 10:01:38 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close cursor: 'SaveToCdlqDbAutoSelling' object has no attribute 'cursor'
2026-01-09 10:01:38 [crawlers.pipelines.save_to_cdlq_db_auto_selling] DEBUG: [SaveToCdlqDbAutoSelling] failed to close connection: 'SaveToCdlqDbAutoSelling' object has no attribute 'conn'
2026-01-09 10:01:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-09 10:01:38 [azure.servicebus._pyamqp.cbs] DEBUG: CBS status check: state == <CbsAuthState.OK: 0>, expired == False, refresh required == False
2026-01-09 10:01:38 [crawlers.pipelines.post_to_azurebus_auto_selling] DEBUG: [AzureBusPipeline] sent process scrape complete CloudEvent for item fa751018ed4111f0b2fbdec23cc99c42
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.ATTACHED: 3> -> <LinkState.DETACH_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.MAPPED: 3> -> <SessionState.END_SENT: 4>
2026-01-09 10:01:38 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.OPENED: 9> -> <ConnectionState.CLOSE_SENT: 11>
2026-01-09 10:01:38 [azure.servicebus._pyamqp._connection] INFO: Connection state changed: <ConnectionState.CLOSE_SENT: 11> -> <ConnectionState.END: 13>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.session] INFO: Session state changed: <SessionState.END_SENT: 4> -> <SessionState.DISCARDING: 6>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.management_link] INFO: Management link sender state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.management_link] INFO: Management link receiver state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-09 10:01:38 [azure.servicebus._pyamqp.link] INFO: Link state changed: <LinkState.DETACH_SENT: 4> -> <LinkState.DETACHED: 0>
2026-01-09 10:01:39 [crawlers.pipelines.post_to_azurebus_auto_selling] INFO: [AzureBusPipeline] connection closed
2026-01-09 10:01:39 [auto_selling_leboncoin.fr] INFO: auto_selling_leboncoin.fr Crawl ended with reason finished, scrape types: {<ScrapeType.NEW: 1>: 5, <ScrapeType.NEW_DUPLICATE_ID: 4>: 0, <ScrapeType.PRICE_UPDATE: 2>: 0, <ScrapeType.AUCTION_UPDATE: 3>: 0, <ScrapeType.SKIPPED: 0>: 0}
2026-01-09 10:01:39 [scrapy.extensions.feedexport] INFO: Stored jsonlines feed (49 items) in: file:///var/lib/scrapyd/items/sourcing_v2/auto_selling_leboncoin.fr/fa751018ed4111f0b2fbdec23cc99c42.jl
2026-01-09 10:01:39 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 5004,
'downloader/request_count': 9,
'downloader/request_method_count/GET': 8,
'downloader/request_method_count/POST': 1,
'downloader/response_bytes': 2139459,
'downloader/response_count': 9,
'downloader/response_status_count/200': 9,
'elapsed_time_seconds': 65.813567,
'feedexport/success_count/FileFeedStorage': 1,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2026, 1, 9, 10, 1, 39, 309907, tzinfo=datetime.timezone.utc),
'item_scraped_count': 49,
'log_count/DEBUG': 265,
'log_count/INFO': 1423,
'memusage/max': 155037696,
'memusage/startup': 125337600,
'photo_download_count': 7,
'request_depth_max': 2,
'response_received_count': 2,
'scheduler/dequeued': 9,
'scheduler/dequeued/memory': 9,
'scheduler/enqueued': 9,
'scheduler/enqueued/memory': 9,
'scrapy-zyte-api/429': 0,
'scrapy-zyte-api/attempts': 3,
'scrapy-zyte-api/error_ratio': 0.3333333333333333,
'scrapy-zyte-api/error_types/download/temporary-error': 1,
'scrapy-zyte-api/errors': 1,
'scrapy-zyte-api/fatal_errors': 0,
'scrapy-zyte-api/mean_connection_seconds': 8.255602806806564,
'scrapy-zyte-api/mean_response_seconds': 2.0125228972174227,
'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/status_codes/520': 1,
'scrapy-zyte-api/success': 2,
'scrapy-zyte-api/success_ratio': 1.0,
'scrapy-zyte-api/throttle_ratio': 0.0,
'start_time': datetime.datetime(2026, 1, 9, 10, 0, 33, 496340, tzinfo=datetime.timezone.utc)}
2026-01-09 10:01:39 [scrapy.core.engine] INFO: Spider closed (finished)
2026-01-09 10:01:39 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f8a95f4ca10>
2026-01-09 10:01:39 [asyncio] ERROR: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f8a95f4d210>