From c150c7f84e91eb292bcfe40b4e80cd69eeab822f Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 9 Nov 2022 12:48:34 +0100 Subject: [PATCH] fixed recipekeeper integration --- cookbook/integration/recipekeeper.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbook/integration/recipekeeper.py b/cookbook/integration/recipekeeper.py index 8e053576..cd783bfa 100644 --- a/cookbook/integration/recipekeeper.py +++ b/cookbook/integration/recipekeeper.py @@ -58,6 +58,13 @@ class RecipeKeeper(Integration): if s.text == "": continue step.instruction += s.text + ' \n' + step.save() + + for s in file.find("div", {"itemprop": "recipeNotes"}).find_all("p"): + if s.text == "": + continue + step.instruction += s.text + ' \n' + step.save() if file.find("span", {"itemprop": "recipeSource"}).text != '': step.instruction += "\n\n" + _("Imported from") + ": " + file.find("span", {"itemprop": "recipeSource"}).text