This Pagesjaunes scraper tutorial shows how to export business detail pages into CSV with the Pagesjaunes Business Info Scraper template for UScraper. You will prepare the detail URL list, confirm the export path, run a small validation batch, and troubleshoot missing phone, website, SIRET, or SIREN fields before using the file for research.
Before you start
Prerequisites for scraping Pagesjaunes business info
You need UScraper installed, the free Pagesjaunes Business Info Scraper template, a short list of Pagesjaunes detail URLs, and a folder where the CSV should be saved. Start with a narrow batch, such as one trade in one city, because directory pages can contain paid placements, hidden contact controls, and profile sections that render differently across businesses.
Open Pagesjaunes.fr manually first and confirm the profiles match your research goal. Then review the current Pagesjaunes robots.txt, Pagesjaunes legal notices and terms, and, if your use case requires official access, the Pagesjaunes developer API portal. This article is a technical runbook, not legal advice.
Treat policy review as part of the workflow. Do not bypass access controls, collect only the fields you need, keep request volume modest, and document how the exported business data will be used.
Workflow
How the Pagesjaunes business scraper runs
The workflow uses a controlled detail-page loop: Set Window Size -> Navigate -> Wait for Page Load -> Wait for Element -> Inject JavaScript -> Sleep -> Structured Export -> Loop Continue. The bundled JSON includes eight sample URLs for a climatisation search around agde-34, but those are examples. For a real run, replace them with the profile URLs your team has approved.
Import the template
Open the related template page, download the JSON workflow, and import it into UScraper. Keep the block groups visible so setup, loading, interaction, export, and loop behavior are easy to audit.
Replace the URL list
In the Navigate block, paste one Pagesjaunes business detail URL per entry. Keep a copy of the original source list so every exported row can be traced back later.
Review the interaction step
The JavaScript block clicks common consent, phone reveal, and "show more" controls. It also includes sample fallback values for the bundled URLs, so update or remove those values before using a new market segment.
Set the CSV destination
Structured Export writes pagesjaunes_business_info_scraper.csv with headers and append mode enabled. Change the save folder before client, campaign, or recurring runs.
Run a validation batch
Run five to ten URLs, open the CSV, compare rows against the live pages, and only expand after names, categories, phones, addresses, websites, SIRET, and SIREN look correct.
Export shape: Pagesjaunes to CSV
There is no separate CSV sample in the bundle, so the JSON export is the authoritative sample of the workflow definition. The table below summarizes the configured columns and the checks you should run after the first export.
| CSV column | What it captures | Validation check |
|---|---|---|
quoiqui | Keyword context, such as climatisation | Replace with your project keyword if the URL batch changes. |
location | Location context, such as agde-34 | Keep it aligned with the source search or campaign region. |
titre_du_business | Business name from the profile heading | Compare against the visible h1 on the detail page. |
url_du_detail_business | Current Pagesjaunes detail URL | Use it for row-level audit and deduplication. |
categorie | Activity labels or fallback category text | Normalize later if your CRM needs fixed categories. |
temps_d_ouverture | Opening status or schedule text when visible | Expect blanks or time-sensitive values. |
tel_1 / tel_2 | Primary and secondary phone numbers | Spot-check reveal controls and formatting. |
adresse | Business address from the profile content | Compare against the visible location section. |
site_du_business | External website or social URL | Review redirects before outreach or enrichment. |
siret / siren | French business identifiers | Validate length and blanks before matching to registries. |
{
"name": "Pagesjaunes Business Info Scraper",
"fileName": "pagesjaunes_business_info_scraper.csv",
"input": "Known Pagesjaunes detail URLs in navigate.urls[]",
"fileMode": "append",
"rowSelector": ".main-content",
"columns": [
"quoiqui",
"location",
"titre_du_business",
"url_du_detail_business",
"categorie",
"temps_d_ouverture",
"tel_1",
"tel_2",
"adresse",
"site_du_business",
"siret",
"siren"
],
"loop": "Navigate to each URL, export one row, then continue"
}
Validation
Validate the first Pagesjaunes CSV export
Do not start with hundreds of profiles. Run a small batch, then open the CSV in a spreadsheet and compare at least five rows with the browser. A usable first export has recognizable business names, the same detail URLs you supplied, sensible category text, phone numbers only where the profile exposes them, and identifiers that are either blank or correctly shaped.
| Symptom | Likely cause | Fix |
|---|---|---|
| CSV has headers but no rows | Main content did not load or selector changed | Re-run with the browser visible, increase waits, and inspect .main-content. |
| Phone columns are blank | Number is absent, hidden, or reveal action failed | Keep the interaction step, run slower, and spot-check the live profile. |
| Website is missing | The business does not publish a website or link filtering removed it | Confirm manually before treating blank as an error. |
| SIRET or SIREN is stale | Sample fallback map was not updated | Remove fallback values or replace them for the current URL batch. |
| Browser shows 403 or challenge pages | Rate limits, anti-bot checks, or access policy controls | Pause, reduce volume, review policy, and avoid bypassing restrictions. |
Pagesjaunes API vs scraper workflow
If you have access to an official Pagesjaunes API, use it for governed backend integration, contracted data delivery, and systems that need stable identifiers or predictable response shapes. A scraper workflow is different: it is a supervised desktop process for reviewed pages where the immediate deliverable is a CSV file, not a production API dependency.
Best fit for local research, one-off market mapping, directory audits, and teams that want the workflow definition, export folder, and CSV output under direct review in a desktop app.
For adjacent workflows, browse the UScraper template library or the full UScraper blog for more directory, search, and contact export tutorials.
FAQ
Frequently asked questions
Pagesjaunes listings may be publicly visible, but automated collection can still be limited by Pagesjaunes terms, robots guidance, French database rights, GDPR, privacy rules, and your purpose of processing. Review the current rules, keep request volume proportionate, avoid bypassing access controls, and get legal review before using exported rows commercially.

