Chobbes / org-chef

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

Doesn't work for some allrecipes #49

Open thecsw opened 4 years ago

thecsw commented 4 years ago

https://www.allrecipes.com/recipe/47717/reuben-sandwich-ii

When I try to insert recipe from the following link, all I have is this:

 1  ◉                                                                                             
   2    :PROPERTIES:                                                                                
   3    :source-url: https://www.allrecipes.com/recipe/47717/reuben-sandwich-ii                     
   4    :servings: 4                                                                                
   5    :prep-time:                                                                                 
   6    :cook-time:                                                                                 
   7    :ready-in:                                                                                  
   8    :END:                                                                                       
   9   ○ Ingredients                                                                                
  10   ○ Directions                                                                                 

Does it mean some recipes are not following the same DOM structure?

Chobbes commented 4 years ago

Ooof, yeah. I'm having troubles with some allrecipes too. If anybody wants to have a look I'd appreciate a fix :).

egh commented 4 years ago

For what it's worth, this recipe will work now if you set org-chef-prefer-json-ld to t.