Language: Python 2.7
Dependencies: beautifulsoup4 (4.3.2)
installed using pip
sudo pip install beautifulsoup4
FOOD_DATA folder sourced from USDA
To Run:
python main.py
and follow prompts
To Autograde:
python autograder.py 'some url from AllRecipes'
autograder.py prints ingredients, cooking methods, and cooking tools in format listed on the assignment sheet. Please see objects.py for complete ingredient, recipe, step models
Structure should be:
Recipes\
README.md
__init__.py
main.py
lists.py
parsing.py
scraper.py
veggieTransformer.py
cuisineTransformer.py
healthyTransformer.py
autograder.py
objects.py
FOOD_DATA\