Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.04 KB
   _____  _____ _____            _____  ______ 
  / ____|/ ____|  __ \     /\   |  __ \|  ____|
 | (___ | |    | |__) |   /  \  | |__) | |__   
  \___ \| |    |  _  /   / /\ \ |  ___/|  __|  
  ____) | |____| | \ \  / ____ \| |    | |____ 
 |_____/ \_____|_|  \_\/_/    \_\_|    |______|
                                               

goog-review-scraping-tool

Scrapes Google reviews and returns .json files.

Utilizing Playwright for web scraping.

Big thanks to ScrapeHero for most of the code.

Setup

  • git clone https://github.com/iarobinson/goog-review-scraping-tool - Clone Repository
  • cd goog-review-scraping-tool - Change directories into the folder
  • npm i - Install dependencies
  • Go to scrape.js and fill in the searchTerm string with your search
  • node scrape.js - Run the application
  • Fetch json from googreviews folder

Not Working?

You need to customize the xpaths.

Instructions found in comments in scrape.js.