How darshitvarshney/freelance_web_scrapping works
This repository is a Google Maps business-lead scraper with a standard asynchronous mode, a production-oriented mode with batching and resume support, and a separate workbook-merging utility. The main workflow loads city/state data, searches Maps, collects listing details, optionally extracts website emails, and exports city sheets to Excel; merging produces a deduplicated dataset. The README documents several stages and capabilities beyond the sampled excerpts. Edges use README statements where source excerpts do not show the relationship; unsampled implementation details are not inferred.
Main entry points: main2.py Production scraper · main.py Standard scraper · combine.py Workbook merger · USA_Cities_2025_New.xlsx City/state workbook
Components 13
Inputs and configuration
- City/state workbook
USA_Cities_2025_New.xlsx
Scraping workflows
- Standard scraper
main.py - Production scraper
main2.py - Google Maps
- Listing extraction
main.py - Business websites
- Email extraction
main.py - Resume progress
main2.py
Exports and consolidation
- State/city workbooks
main.py - Batch workbooks
main2.py - Workbook merger
combine.py - Deduplicated dataset
combine.py
Other components
- Scraper operator
Connections 18
- Scraper operator → Standard scraper: runs
README.md - Scraper operator → Production scraper: runs
README.md - City/state workbook → Standard scraper: loads cities
main.py - City/state workbook → Production scraper: loads cities
main2.py - Standard scraper → Google Maps: searches
README.md - Production scraper → Google Maps: searches
README.md - Standard scraper → Listing extraction: collects listings
README.md - Production scraper → Listing extraction: collects listings
README.md - Listing extraction → Business websites: visits when available
README.md - Business websites → Email extraction: provides page content
main.py - Standard scraper → Email extraction: extracts emails
main.py - Production scraper → Email extraction: extracts emails
main2.py - Standard scraper → State/city workbooks: exports results
main.py - Production scraper → Batch workbooks: exports batches
README.md - Production scraper → Resume progress: saves progress
main2.py - State/city workbooks → Workbook merger: merges files
README.md - Batch workbooks → Workbook merger: merges files
README.md - Workbook merger → Deduplicated dataset: removes duplicates
combine.py