This is a simple script to parse Google Reviews based on a search string.
This script was written in Pakistan so it may not be usable outside of Pakistan due to different page layout and elements. For example, I did not face any cookie consent popups while writing this.
- Install requirements using
pip install -r requirements.txt
- Navigate to the
Parser
directory - Run the script using
python parse.py
- Enter the search string when prompted
- Wait for the script to complete running
- Reviews will be saved in a CSV file named
reviews.csv
in the same directory where you run the script from
If you get a certificate error, you can ignore it. The script will still work. Or you can install the Selenium Wire certifcate to get rid of the error.
If you need to parse additional data, simply add the corresponding header and the necessary array navigation in the settings.py
file.