Skip to content

seeedstack/business_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Maps Business Scraper

Scrape business listings from Google Maps. Export to CSV.

Install

pip install -e .
playwright install chromium
cp .env.example .env

Usage

# single type
python cli.py --type "restaurant" --location "Chennai" --limit 100

# multiple types
python cli.py --types "pharmacy,gym" --location "Mumbai" --limit 50

# area sweep (no type)
python cli.py --location "Chennai" --radius-km 5

# export CSV
python cli.py --type "restaurant" --location "Chennai" --export csv --output results.csv

# no-website leads
python cli.py --no-website --location "Chennai"

Python API

from maps_scraper import scrape, no_website

scrape(type="restaurant", location="Chennai", limit=100)
scrape(types=["pharmacy", "gym"], location="Mumbai", limit=50)
scrape(location="Chennai", radius_km=5)
no_website(location="Chennai")

Config (.env)

SCRAPER_MIN_DELAY=2
SCRAPER_MAX_DELAY=7
SCRAPER_HEADLESS=false
PROXY_URL=

Output fields

name, address, phone, website, rating, review_count, price_range, category_tags, hours, is_open_now, latitude, longitude, source_url

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages