Giter Site home page Giter Site logo

a3linux / recipeparser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brooke-white/recipeparser

0.0 1.0 0.0 600 KB

Turn recipes into markdown files!

Home Page: http://brooke-white.github.io/RecipeParser/

License: MIT License

Python 100.00%

recipeparser's Introduction

RecipeParser

My Recipes

About

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.

Dependencies

Python == 3.4.3

BeautifulSoup4 (pip install bs4)

Supported Recipe Websites

Usage

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.

recipes.txt

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

recipeparser's People

Contributors

brooke-white avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.