org-chef icon indicating copy to clipboard operation
org-chef copied to clipboard

Several recipe website requests

Open DKuykendall opened this issue 6 years ago • 10 comments

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

DKuykendall avatar Jul 18 '18 04:07 DKuykendall

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.

Chobbes avatar Jul 18 '18 13:07 Chobbes

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.

DKuykendall avatar Jul 21 '18 05:07 DKuykendall

: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 :).

Chobbes avatar Sep 17 '18 15:09 Chobbes

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.

dellis2k avatar Sep 22 '18 13:09 dellis2k

That's good to know!

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

Chobbes avatar Sep 22 '18 16:09 Chobbes

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

dellis2k avatar Sep 23 '18 14:09 dellis2k

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

Chobbes avatar Nov 05 '18 02:11 Chobbes

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

  • https://amazingribs.com/bourbon-bbq-baked-beans-recipe
  • https://www.bingingwithbabish.com/recipes/2017/8/22/fitz-sandwich
  • https://www.blueapron.com/recipes/general-tso-s-chicken-with-sweet-peppers-jasmine-rice-3
  • https://www.chefsteps.com/activities/hazelnut-pistachio-romesco
  • https://www.homechef.com/meals/fontina-and-caramelized-onion-flatbread
  • https://www.splendidtable.org/recipes/gujarati-corn-on-the-cob-curry

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

egh avatar Jul 30 '20 20:07 egh

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

bkaczynski avatar May 08 '21 09:05 bkaczynski

@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.

Chobbes avatar May 08 '21 13:05 Chobbes