Scrape business listings from Google Maps. Export to CSV.
pip install -e .
playwright install chromium
cp .env.example .env# 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"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")SCRAPER_MIN_DELAY=2
SCRAPER_MAX_DELAY=7
SCRAPER_HEADLESS=false
PROXY_URL=name, address, phone, website, rating, review_count, price_range, category_tags, hours, is_open_now, latitude, longitude, source_url