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.
https://food52.com/recipes/31276-oatmeal-cream-pies#comments
https://www.food.com/recipe/tsr-version-of-benihana-japanese-onion-soup-by-todd-wilbur-391952
https://allrecipes.com/recipe/41460/sweet-corn-tomalito/
https://www.sweetandsavorybyshinee.com/lemon-french-macarons/
https://www.foodnetwork.com/recipes/mock-garlic-mashed-potatoes-recipe.html
https://www.marthastewart.com/1075067/stuffed-tomatoes-mozzarella
https://www.liveeatlearn.com/honey-lime-grilled-pineapple/
https://www.epicurious.com/recipes/food/views/spiced-pumpkin-bread-840