Skip to content

Zomato reviews scraper using python and selenium. Save the reviews into excel.

License

Notifications You must be signed in to change notification settings

AgiMaulana/Zomato-Reviews-Scraper

Repository files navigation

Zomato Reviews Scraper

  • Because of the XPath was invalid in several zomato page, the reviews may not fully scraped.
  • Total reviews per page are 5 reviews. The script will 'click' the load more button 20 times, of course you can change it in scraper.py if want to scrape more reviews.

Clone

git clone https://github.com/AgiMaulana/zomato-reviews-scraper/

Install dependencies

pip install -r requirements.txt

Install Chrome Web Driver

Download latest Chrome web driver from https://sites.google.com/a/chromium.org/chromedriver/downloads

Or if you on Linux/Ubuntu
wget https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip

Extract the binary then move to /usr/bin/
sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver

Run

add your restaurant Zomato reviews page by add the URL to urls.txt
then
python main.py

Lisence

This project is under the MIT Lisence

Releases

No releases published

Packages

No packages published

Languages