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

Doesn't work for some allrecipes

Open thecsw opened this issue 4 years ago • 2 comments

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?

thecsw avatar May 24 '20 08:05 thecsw

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

Chobbes avatar Jun 25 '20 14:06 Chobbes

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

egh avatar Jul 30 '20 04:07 egh