Skip to main content

Maps::Google::Reviews - Google Maps review scraper

Overview of the scraper​

Google Maps reviews scraper. The Google Maps reviews scraper provides fast and automated retrieval of reviews from Google Maps. Thanks to the Maps::Google::Reviews scraper, you will be able to automatically collect review databases from Google Maps. Using the Maps::Google::Reviews scraper, you can easily and quickly scrape reviews from Google Maps.

A-Parser functionality allows you to save scraping settings for the Maps::Google::Reviews scraper for future use (presets), set scraping schedules, and much more.

Saving results is possible in the form and structure you need, thanks to the built-in powerful Template Toolkit templating engine, which allows you to apply additional logic to the results and output data in various formats, including JSON, SQL, and CSV.

Collected data​

  • $totalcount — number of reviews for the place
  • $avgrating — average rating
  • Array $list (reviews)
    • $list.$i.rating — rating
    • $list.$i.text — text
    • $list.$i.name — author's name
    • $list.$i.date — date
    • $list.$i.url — link

Features​

  • Supports specifying the number of reviews to collect per query (Max reviews count)
  • Collection engine: HTTP or Browser (Engine)

Use cases​

  • Collecting reviews
  • Number of reviews and average rating

Queries​

Queries should be specified as a link to a place with cid, for example:

https://maps.google.com/?cid=12262488876297357724

Output results examples​

A-Parser supports flexible result formatting thanks to the built-in Template Toolkit templating engine, which allows it to output results in any form, as well as in structured formats like CSV or JSON

Default result format:

$list.format('$name,$date,$url,$rating,$text\n')

Possible settings​

Parameter nameDefault valueDescription
Max reviews count20How many reviews to put in $list
EngineHTTPHTTP — without browser. Browser — via browser
Max concurrent browser pages10How many Chrome pages the scraper can open simultaneously. Increase carefully with high thread counts — memory and CPU load will grow
Browser tries on same proxy4How many new browser pages to open on one proxy if Google requires login or the Reviews tab is missing. Then the proxy is changed. 0 — only the first page, no retry on the same proxy
Browser headless☑Run browser in headless mode