How meryarsoy/googlemapsbot works
Google Maps Scraper is a Flask-based tool for searching businesses by keyword and region, collecting valid Turkish mobile numbers, and exporting them as Google Contacts CSV. The main workflow runs from the web panel through task handling and background scraping to a cumulative CSV; a separate command-line entry point also runs searches. The graph preserves documented capabilities such as query expansion, district selection, live progress, and duplicate filtering. Some app and scraper excerpts are partial, so edges to unsampled behavior rely only on README documentation.
Main entry points: app.py Task worker · scraper.py Maps scraper · index.html Web panel · main.py CLI searches
Components 13
Web panel
- Web panel
templates/index.html - Task and lookup API
app.py
Task processing
- Task history
app.py - Background queue
app.py - Task worker
app.py - Search setup
app.py - CLI searches
main.py
Maps collection
- Query expansion
scraper.py - Maps scraper
scraper.py - Result filtering
scraper.py
Other components
- Operator
- Google Maps
- Contacts CSV
Connections 14
- Operator → Web panel: submits searches
README.md - Web panel → Task and lookup API: uses endpoints
README.md - Task and lookup API → Background queue: queues tasks
app.py - Task and lookup API → Task history: updates status
app.py - Task worker → Background queue: takes tasks
app.py - Task worker → Search setup: prepares searches
app.py - Search setup → Query expansion: expands queries
README.md - Task worker → Maps scraper: runs searches
README.md - CLI searches → Maps scraper: runs searches
main.py - Maps scraper → Google Maps: searches and scrolls
scraper.py - Maps scraper → Result filtering: processes cards
scraper.py - Result filtering → Contacts CSV: appends contacts
scraper.py - Task worker → Task history: saves history
app.py - Task history → Web panel: provides progress
README.md