-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Imported a recipe from this URL: https://justcook.butcherbox.com/cuts/pork/pork-loin-roast/ , which has the recipe in JSON-LD format embedded in the web page.
Image, name, ingredient list, and cooking time were imported just fine, but instructions are not imported, if one looks at the raw json generated, the "recipeInstructions" is an empty array.
Especially odd because if one looks at the JSON-LD that's in the web page in question, recipeInstructions is clearly a populated array. Problem is likely related to the fact this recipe divides its steps into sections.
For convenience, I used getld and jq to extract and inspect raw json from the original recipe URL in question, like so:
# get CLI tool for extracting JSON-LD from urls
go get github.com/daetal-us/getld
# json swiss army knife
sudo apt-get install jq
# get recipe, format it for human eyeball compatibility.
getld https://justcook.butcherbox.com/cuts/pork/pork-loin-roast/ | jq . > readable-recipe.json
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working