A python script that parses recipe websites to create markdown files with essential recipe information, like ingredients, instructions, and a photo of course! I made this so I can keep all of my favorite recipes organized in a psuedo recipe book.
Python == 3.4.3
BeautifulSoup4 (pip install bs4)
file: A text file containing recipe urls from the supported websites
file = "/Users/brooke/Desktop/recipes.txt"
if main(file):
print("Success")
else:
print("Not all markdown files were generated")
If generating the markdown files is a success you will see a success message, otherwise you'll see which markdown files weren't generated and the corresponding error messages.
http://food52.com/recipes/31276-oatmeal-cream-pies#comments
http://www.food.com/recipe/tsr-version-of-benihana-japanese-onion-soup-by-todd-wilbur-391952
http://allrecipes.com/recipe/41460/sweet-corn-tomalito/
http://www.sweetandsavorybyshinee.com/lemon-french-macarons/
http://www.foodnetwork.com/recipes/mock-garlic-mashed-potatoes-recipe.html
http://www.marthastewart.com/1075067/stuffed-tomatoes-mozzarella
http://www.liveeatlearn.com/honey-lime-grilled-pineapple/
http://www.epicurious.com/recipes/food/views/spiced-pumpkin-bread-840