Greasy Fork is available in English.

Google Reviews Batch to JSON

Scrapes reviews from Google Maps, expands truncated content, and exports to clipboard

Forfatter
sharmanhall
Daglige installasjoner
0
Totale installasjoner
11
Vurderinger
0 0 0
Versjon
0.9
Lagd
26.10.2023
Oppdatert
26.10.2023
Lisens
MIT
Gjelder

Google Reviews Scraper & Exporter to JSON

Description:

This UserScript is designed for use with Tampermonkey and allows users to scrape and collect Google Maps reviews from a specific place. After scraping the reviews, it automatically formats the information into a JSON structure and provides an option to copy the results directly to the clipboard.

Features:

  • Scrape Reviews: Collects review data such as reviewer's name, image URL, review date, star rating, review URL, and review content.
  • Expand Truncated Reviews: If a review content is truncated (cut off) on the page, the script will automatically expand it to capture the full content.
  • Export to Clipboard: The script provides a button that, once clicked, will copy the scraped review data in JSON format to your clipboard.
  • Easy-to-Use Buttons: Two buttons are added to the Google Maps interface - one for scraping reviews and another for copying them to the clipboard.

Usage:

  1. Navigate to a Google Maps place page (URLs that match https://www.google.com/maps/place/*).
  2. You will see two new buttons added to the interface: "Scrape Reviews" and "Copy to Clipboard".
  3. Click on "Scrape Reviews" to collect the review data.
  4. After scraping, click on "Copy to Clipboard" to copy the JSON-formatted review data.

Notes:

  • Ensure Tampermonkey is installed and active in your browser.
  • This script does not make any external calls or store any data outside of the session. It only scrapes the data visible on the Google Maps page.
  • Please use responsibly and adhere to Google's terms of service.

Do ensure you have the right permissions and adhere to terms of service when scraping data from websites.