Project

tychus

0.0
No commit activity in last 3 years
No release in over 3 years
Web recipe parser
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0
~> 3.0.0
>= 0

Runtime

 Project Readme

Tychus

Recipe parser supporting microformats for:

Compatible with:

Installation

Add this line to your application's Gemfile:

gem 'tychus'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tychus

Usage

'require tychus'   
recipe = Tychus.parse('http://allrecipes.com/Recipe/Chicken-Pot-Pie-IX/Detail.aspx?soid=recs_recipe_2')

recipe.name
=> "Chicken Pot Pie IX"
recipe.author
=> "Robbie Rice"
recipe.description
=> "\"A delicious chicken pie made from scratch with carrots, peas and celery.\""
recipe.ingredients
=> ["1 pound skinless, boneless chicken breast halves - cubed", "1 cup sliced carrots", "1 cup frozen green peas", "1/2 cup sliced celery", "1/3 cup butter", "1/3 cup chopped onion", "1/3 cup all-purpose flour", "1/2 teaspoon salt", "1/4 teaspoon black pepper", "1/4 teaspoon celery seed", "1 3/4 cups chicken broth", "2/3 cup milk", "2 (9 inch) unbaked pie crusts"]

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tychus/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request