Files
gosom__google-maps-scraper/grid
Georgios Komninos 97ee065fc3 Feature/grid scraping (#251)
* 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>
2026-03-21 12:30:23 +02:00
..
2026-03-21 12:30:23 +02:00
2026-03-21 12:30:23 +02:00