Skip to content

pherodeon/recipe-scrapers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Travis Coveralls License Github

This repository is a fork from https://github.com/hhursev/recipe-scrapers

Unless the modifications included are critical to you please refer to the main repository

A simple web scraping tool for recipe sites.

How to use

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.

Scrapers available for:

About

Python package for scraping recipes data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%