Chobbes / org-chef

A package for making a cookbook and managing recipes with org-mode.
MIT License
327 stars 33 forks source link

Several recipe website requests #15

Open DKuykendall opened 6 years ago

DKuykendall commented 6 years ago

Several sites, like food youtube channels and meal delivery services post their recipes to their own personal websites, rather than aggregation sites. I understand if these are too small to bother with, but I'll make the request just in case.

AmazingRibs: example - https://amazingribs.com/bourbon-bbq-baked-beans-recipe

FoodNetwork: example - https://www.foodnetwork.com/recipes/alton-brown/southern-biscuits-recipe-2041990

BonAppetit: example - https://www.bonappetit.com/recipe/instant-pot-coq-au-vin

French Cooking Academy: example - https://www.thefrenchcookingacademy.com/recipe/chicken-chasseur/

Binging With Babish: example - https://www.bingingwithbabish.com/recipes/2017/8/22/fitz-sandwich

Blue Apron: example - https://www.blueapron.com/recipes/general-tso-s-chicken-with-sweet-peppers-jasmine-rice-3

Plated: example - https://www.plated.com/recipes/mediterranean-grain-bowl-with-lamb-kebabs-tzaziki-and-roasted-red-pepper-hummus

Home Chef: example - https://www.homechef.com/meals/fontina-and-caramelized-onion-flatbread

ChefSteps: example - https://www.chefsteps.com/activities/hazelnut-pistachio-romesco

Chobbes commented 6 years ago

I will definitely add all of these :). I'm busy for the next couple of weeks, but when I get the chance I'll implement everything.

DKuykendall commented 6 years ago

Awesome! I've been using this tool pretty extensively to try to tame my backlog of open tabs full of recipes, it's great. Thanks for making it.

As I've been using it, I've found a couple more sites with a bunch of recipes that you don't yet support:

Saveur: example - https://www.saveur.com/roasted-moong-dal-with-spinach-recipe

Splendid Table: example - https://www.splendidtable.org/recipes/gujarati-corn-on-the-cob-curry

New York Times: example - https://cooking.nytimes.com/recipes/6909-vegetarian-borscht

Just One Cookbook: example - https://www.justonecookbook.com/matcha-swiss-roll/

The Little Epicurean: example - https://www.thelittleepicurean.com/2015/05/japanese-milk-bread.html

Finally, Cooks Illustrated has an enormous catalog of recipes, but unfortunately they're only available to logged-in subscribers, so I imagine most users wouldn't find them useful, especially given the additional work that would be needed to handle authentication.

Chobbes commented 6 years ago

:wave:

I have to admit that I'm a bit busier these days, so I might not be able to personally add all of these. If you get the chance I strongly encourage you to look at some of the other websites and try to implement them yourself (or if anybody else is interested in implementing them, go ahead!)

Generally it doesn't take too long to add a website, but it can be a little fiddly. If you do get around to making any of these work, I will get it merged ASAP :).

dellis2k commented 5 years ago

Any of the recipe sites that are hosted on wordpress will use the same html. So you can use the org-chef-show-me-the-yummy importer for those sites.

For example add ((org-chef-match-url "justonecookbook.com" URL) (org-chef-show-me-the-yummy-fetch URL)) in org-chef.el and it will work just fine.

Chobbes commented 5 years ago

That's good to know!

Do you know if there is a reliable way to detect if a website is a wordpress one?

dellis2k commented 5 years ago

I assume you can search the dom as it looks like the recipe is in the wprm-recipe-container css class.

Chobbes commented 5 years ago

Finally got around to doing something on this front. All wordpress recipe sites should work out of the box now.

egh commented 4 years ago

For the record, the sites that still don't work:

plated.com doesn't seem to host recipes any more.

bkaczynski commented 3 years ago

Is it possible to extract these kind of information from non-English sites?

Chobbes commented 3 years ago

@bkaczynski there are a few non-English sites supported already, but I would be happy to have more. If you have any in mind you could consider adding support for it, or possibly adding an issue in case anybody else would like to add it too.