From a3a8ae913bd3d67084f5d08227d4853274479c26 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 4 Jun 2021 17:53:02 -0800 Subject: [PATCH] fixes #458 key error --- mealie/services/scraper/cleaner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/services/scraper/cleaner.py b/mealie/services/scraper/cleaner.py index a24586bf4..4b8ca39c1 100644 --- a/mealie/services/scraper/cleaner.py +++ b/mealie/services/scraper/cleaner.py @@ -33,7 +33,7 @@ class Cleaner: recipe_data["recipeYield"] = Cleaner.yield_amount(recipe_data.get("recipeYield")) recipe_data["recipeIngredient"] = Cleaner.ingredient(recipe_data.get("recipeIngredient")) - recipe_data["recipeInstructions"] = Cleaner.instructions(recipe_data["recipeInstructions"]) + recipe_data["recipeInstructions"] = Cleaner.instructions(recipe_data.get("recipeInstructions")) recipe_data["image"] = Cleaner.image(recipe_data.get("image")) recipe_data["slug"] = slugify(recipe_data.get("name")) recipe_data["orgURL"] = url