An open API service indexing awesome lists of open source software.

https://github.com/grayhat12/eatthismuch-scraper

Scraper for https://www.eatthismuch.com/ Provide your calorie requirement and number of meals for the day and the script returns your day's diet plan
https://github.com/grayhat12/eatthismuch-scraper

chromedriver diet-managment meal-planner selenium-python selenium-webdriver webscraping

Last synced: 3 months ago
JSON representation

Scraper for https://www.eatthismuch.com/ Provide your calorie requirement and number of meals for the day and the script returns your day's diet plan

Awesome Lists containing this project

README

        

# EatThisMuch Scraper

# PREQUISITES
## PIP DEPENDENCY
* selenium : install selenium
`pip install selenium`

## GOOGLE CHROME BROWSER
* download Google Chrome from [here](https://www.google.com/chrome/ "Google Chrome")

## SELENIUM WEBDRIVER FOR CHROME
* Firstly find the version of your Google Chrome Browser
* Settings > Advanced > About Chrome
Note down the chrome version Example `78.0.3904.97`
* Go to [Chrome Driver Downloads](https://chromedriver.chromium.org/downloads "Chrome Driver") and download the driver that matches your Browser version

# INSTRUCTIONS
* Open `main.py` in an appropriate text editor and replace the `executable_path` in line 16 `driver = webdriver.Chrome(executable_path=r"C:\Users\Rahul\PaidProjects\Personal\GrayBot-Uv1\chromedriver.exe",options=options)` to the one that matches the chromedriver.exe on your system
* Now you can simply run the code on the console by typing `python main.py`

# OUTPUT
![OUTPUT IMAGE](output.png "Sample Output")