Skip to content

recipeify/recipe-scrapers

 
 

Repository files navigation

Version Travis Coveralls License Github

A simple web scraping tool for recipe sites.

then:

from recipe_scrapers import scrape_me

# give the url as a string, it can be url from any site listed below
scraper = scrape_me('http://allrecipes.com/Recipe/Apple-Cake-Iv/Detail.aspx')

scraper.title()
scraper.total_time()
scraper.yields()
scraper.ingredients()
scraper.instructions()
scraper.image()
scraper.links()

Note: scraper.links() returns a dictionary object containing all of the <a> tag attributes. The attribute names are the dictionary keys. Note : The functions will return 0 or None if certain information isn't available on the website.

Scrapers available for:

About

Python package for scraping recipes data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%