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
Metadata
Release files for business-scraper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| business_scraper-0.1.0.tar.gz | 7.2 kB | Without provenance | Details for business_scraper-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| business_scraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for business_scraper-0.1.0-py3-none-any.whl |
Total release size: 17.2 kB
Release files / business_scraper-0.1.0.tar.gz
| Download URL | business_scraper-0.1.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41041c5d706445c0f51d713a39d5ff5408269bcfa64ed8ac4f61497d178252c8
|
|
BLAKE2b-256 checksum How to use checksums |
0bfbd5d09c567bf3369232be4f9d1b7edb3906eb5d25c75d74c4de53cc297ebe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / business_scraper-0.1.0-py3-none-any.whl
| Download URL | business_scraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb9ff377e8f377a6027a34e843cb3275efcc496ba309690f186156bc3e18f4b4
|
|
BLAKE2b-256 checksum How to use checksums |
9bf89b11996370d3d4ee523a9485b8cab934965d7af823c6c07823e2302e8075
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for business-scraper 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.