Civic-tech teams
Directory QA
Check whether public office contact pages have consistent names, opening hours, addresses, and website links before publishing a service map or help portal.
Limited Time — Lifetime Access for just $99. Lock in before prices rise.
This administration data scraper turns public Lannuaire Service Public detail pages into a clean CSV of administration names, opening hours, location, website, phone, fax, and source URLs. Import the workflow into the UScraper local desktop app, add the Service-Public.fr directory pages you need, and export structured administration contacts without writing a scraper from scratch.
CSV
7
7
30 sec
Free
At a glance
This template is built for public administration directory research where the useful data lives on individual Service-Public.fr detail pages. Instead of asking you to copy office names, addresses, opening hours, contact links, and telephone fields by hand, the workflow loops through supplied URLs and exports the visible directory fields in a spreadsheet-friendly format.
The starter bundle follows the same practical shape as a no-code directory scraper: Navigate opens each detail URL, page-load and element waits reduce empty rows, Structured Export captures the fields, a short sleep adds pacing, and Loop Continue advances to the next URL. To expand the run, add more Lannuaire detail pages to the Navigate block.
Public administration field capture
Export the fields most teams need for directory checks: administration name, hours, address or location, website, phone, fax, and the detail-page URL.
Multi-page loop already wired
The template starts with seven Service-Public.fr detail URLs and keeps appending rows as you add more approved pages to the same list.
Local desktop workflow
Runs in the UScraper desktop app, so the CSV stays in your configured save folder unless you add your own sharing step.
Ready for spreadsheet review
Headers are included, append mode is enabled, and the output can be opened in Excel, Google Sheets, BI tools, or internal QA workflows.
Who this is for
Civic-tech teams
Directory QA
Check whether public office contact pages have consistent names, opening hours, addresses, and website links before publishing a service map or help portal.
Researchers
Public-service datasets
Build a reviewable CSV from selected national, regional, or local administration pages, then compare the export with official open-data or API records.
Operations teams
Contact maintenance
Collect administration contact details for internal reference lists, outreach planning, case routing, or periodic verification of public-service information.
For related public-sector workflows, pair this page with the Emploi Territorial Jobs Scraper, Assurance Maladie Listing Scraper, and PagesBlanches Info Scraper. The broader UScraper template library also includes business directory and search-result templates for follow-up enrichment.
How to use
Review the starter pages
Open the Navigate block and inspect the seven Lannuaire Service Public detail URLs. Remove pages you do not need before running a production export.
Add your directory URLs
Paste more public detail-page URLs from Lannuaire Service Public into navigate.urls. Keep each URL on its own entry so Loop Continue can advance predictably.
Confirm the export path
Structured Export writes lannuaire-service-public-scraper.csv with headers and append mode. Change the save folder for each client, region, or research batch.
Run and verify
Run the workflow, open the CSV, and spot-check a few rows against the source pages before using the file in reporting, CRM cleanup, or dataset work.
Output preview
The export shape comes directly from the workflow definition. Each row represents one administration detail page, and each column is designed for review in a spreadsheet before you merge, dedupe, or enrich the data.
| administration | horaires | lieu | site | telephone | fax | url_de_la_page_detaillee |
|---|---|---|---|---|---|---|
| Ministere de l'Interieur | Lundi au vendredi 09:00-12:00 14:00-17:00 | Place Beauvau 75008 Paris | https://www.interieur.gouv.fr | 01 40 07 60 60 | 01 40 07 60 00 | https://lannuaire.service-public.gouv.fr/... |
| Prefecture de la Haute-Garonne | Accueil sur rendez-vous selon service | 1 place Saint-Etienne 31000 Toulouse | https://www.haute-garonne.gouv.fr | 05 34 45 34 45 | 05 34 45 36 00 | https://lannuaire.service-public.gouv.fr/... |
| Cour administrative d'appel | Standard ouvert les jours ouvrables | 68 rue Raymond IV 31000 Toulouse | https://toulouse.cour-administrative-appel.fr | 05 62 73 57 57 | 05 62 73 57 40 | https://lannuaire.service-public.gouv.fr/... |
lannuaire-service-public-scraper.csvColumn
administration
The page title or primary administration name.
Column
horaires
Opening-hours text grouped from the Horaires section when present.
Column
lieu
Structured address text or location block content cleaned into one line.
Column
site
Website URL from the contact section.
Column
telephone
Visible telephone contact details, excluding accessibility-specific phone blocks.
Column
fax
Fax number when the page publishes one.
Column
url_de_la_page_detaillee
The exact Lannuaire Service Public detail URL used for auditability.
The directory is public, and France also publishes administration directory data through official open data and API channels. Automated collection can still be limited by site terms, robots directives, personal-data rules, reuse licenses, and local law, so review the source rules before using the CSV commercially.
Before you run
Keep these constraints visible
Avoid aggressive public directory runs
Use modest batches, keep the built-in pause, and increase wait times if pages slow down. The template is designed for controlled exports, not high-frequency crawling.
Service-Public.fr page sections can change
Empty horaires, missing phone fields, or blank addresses usually mean a page uses a different layout or the source markup changed. Update the Structured Export columns before trusting large batches.
Check reuse rules before republishing data
Public does not automatically mean unrestricted. Review source terms, open-data license conditions, privacy obligations, and your internal compliance process before distributing exported administration contacts.
Download the free template, install the desktop app from UScraper download, and use this workflow whenever you need to export administration contacts from selected Lannuaire Service Public pages into a structured local CSV.
Download and use this template instantly
UScraper templates are open source. Improve this workflow or contribute a new one to help the community grow.
Contribute on GitHubBrowse more templates in the library
All TemplatesHere are some of our most common questions. Can't find what you're looking for?
View All FAQsDownload UScraper and build your first web scraper in under 10 minutes. No subscriptions, no code, no limits.
Available on Windows 10+ and macOS 12+ · Need help? [email protected]