La Centrale is one of France's biggest used-car marketplaces, and pros.lacentrale.fr is its dealer directory. Every dealer has a page with its SIREN and SIRET, founding year, a…

La Centrale is one of France's biggest used-car marketplaces, and pros.lacentrale.fr is its dealer directory. Every dealer has a page with its SIREN and SIRET, founding year, a "verified seller" badge, address, opening hours and website, and below that, every car it has for sale: make, model, version, year, mileage, fuel, price, monthly price and La Centrale's own deal rating. The directory lists those dealers by city, department, region and brand.

For dealer lead lists, stock monitoring or used-car price research, that is a clean dataset. Here is how to pull it into Python. Why plain requests fail import requests r = requests.get("https://pros.lacentrale.fr/C045088") print(r.status_code) # 403 print(r.text[:120]) # ... Please enable JS and disable any ad blocker ... lacentrale.fr is protected by DataDome, which answers a script with 403 and a JavaScript challenge instead of the page. Sending the request through Scrape.do returns the real server-rendered HTML.

A plain request is enough, no extra parameters: 1 credit per page. import csv import json import re TOKEN = "" def fetch(url): r = requests.get("https://api.scrape.do/", params={"token": TOKEN, "url": url}, timeout=90) return r.text Step 1: the dealers of a city The directory lives on www.lacentrale.fr: /annuaire/garages-villes/, /annuaire/garages-departements/, /annuaire/garages-regions/ or /annuaire/marques/, 20 dealers per page (?page=N&perPage=20). Each card holds the dealer reference, C plus six digits.

Read it from data-tracking-meta, not from the link: some dealers link to their own website instead of their La Centrale page. def dealers(city): html = fetch(f"https://www.lacentrale.fr/annuaire/garages-villes/{city}") for card in html.split('data-testid="listing-item-container"')[1:]: ref = re.search(r"pro_account_ref":"(C\d+)", card) if ref: yield ref.group(1) Lyon has 17 dealers in the directory; Paris has 127, over 7 pages.

Step 2: the dealer page pros.lacentrale.fr/C045088 carries three things: An AutoDealer JSON-LD block with the name, address and coordinates. Its openingHoursSpecification is a JSON string inside the JSON, so decode it a second time. An identity card ("Vendeur vérifié", "Date de création", "Stock") and a footer with SIREN / SIRET and the dealer's website.

Source disclosure

This is a source-linked briefing. Read the original report from Dev Community .