How renthelautomations/google-maps-lead-scraper works
Maps Lead Scraper is a browser-local Chrome extension for collecting and enriching Google Maps business leads. A user starts a Maps scrape from the popup, or configures bulk searches in the dashboard; the scraper reads listings, the background service enriches websites, and results are saved for review and export. The graph also shows dashboard reporting and list management, shared cleaning/export logic, and the Maps and business websites as external systems. Dashboard implementation is sampled only partially; bulk-search wiring is documented in the README.
Main entry points: dashboard.js Lead dashboard · content.js Maps scraper · clean.js Cleaning and export helpers · popup.js Scrape popup
Components 16
Lead collection
- Scrape popup
popup.js - Maps scraper
content.js - Bulk search queue
background.js - Popup export
popup.js
Website enrichment
- Extension service worker
background.js - Website enricher
background.js
Lead workspace
- Lead dashboard
dashboard.js - Bulk search controls
dashboard.js - Lead report
dashboard.js - Lead details and actions
dashboard.js - CSV and Sheets export
dashboard.js
Shared data logic
- Cleaning and export helpers
clean.js - Local lead storage
Other components
- User
- Google Maps
- Business websites
Connections 24
- User → Google Maps: searches
README.md - User → Scrape popup: starts scrape
README.md - Scrape popup → Maps scraper: injects
popup.js - Google Maps → Maps scraper: provides listings
content.js - Maps scraper → Cleaning and export helpers: cleans fields
content.js - Maps scraper → Local lead storage: saves leads
content.js - Maps scraper → Extension service worker: requests enrichment
content.js - Extension service worker → Website enricher: dispatches enrichment
background.js - Website enricher → Business websites: fetches pages
background.js - Website enricher → Cleaning and export helpers: extracts signals
background.js - Bulk search controls → Bulk search queue: starts searches
README.md - Bulk search queue → Google Maps: opens searches
background.js - Bulk search queue → Maps scraper: injects scraper
background.js - User → Lead dashboard: reviews leads
README.md - Lead dashboard → Local lead storage: loads and updates
dashboard.js - Lead dashboard → Bulk search controls: configures
README.md - Lead dashboard → Lead report: summarizes leads
dashboard.js - Lead dashboard → Lead details and actions: opens details
dashboard.js - Lead dashboard → Cleaning and export helpers: filters and formats
dashboard.js - Lead dashboard → CSV and Sheets export: exports filtered leads
README.md - Scrape popup → Popup export: exports leads
popup.js - Popup export → Cleaning and export helpers: formats CSV and TSV
popup.js - Popup export → Local lead storage: marks exported
popup.js - User → CSV and Sheets export: exports reviewed list
README.md