This is a simple script used for the purposes of scraping Google reviews. The reviews are parsed and written into a JSON file.
- Install
virtualenv
viapip
. E.gpython3 -m pip install virtualenv
- Source the venv. E.g
source <venv>/bin/activate
- Install the dependencies. E.g
python3 -m pip install -r requirements.txt
- Run the venv. E.g
<venv>/bin/python src/ramsay.py
- The output file will be in the
/out
folder. It takes in a file calledrestuarants.csv
, where it is the restaurant's name followed by the URL
- Add more fields (like sort by date, name, etc.)
- Click the sort by newest button