mirror of
https://github.com/gosom/google-maps-scraper.git
synced 2026-09-19 07:27:12 +08:00
97ee065fc3
* feat: add grid scraping to overcome Google Maps ~120 results limit Introduces a new `grid` package and CLI flags that divide a geographic bounding box into a grid of smaller cells, issuing one search job per cell. This lets users scrape thousands of results from a large area by bypassing Google Maps' per-search cap. New flags: -grid-bbox "minLat,minLon,maxLat,maxLon" e.g. "40.30,-3.80,40.50,-3.60" -grid-cell <km> cell size in km (default 1.0) -zoom reused to control the view per cell (default 15) Results across overlapping cells are deduplicated automatically via the existing place-ID deduper. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Adds tests and validations in bounding box --------- Co-authored-by: yaelmontoya <yaelmontoya@debian> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>