From b9ee77709b60b0f87581db7bd7426fce27d0d1fd Mon Sep 17 00:00:00 2001 From: smilerz Date: Sat, 17 Apr 2021 12:49:06 -0500 Subject: [PATCH] updated ATK scraper to include header notes in instructions --- cookbook/helper/scrapers/cooksillustrated.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbook/helper/scrapers/cooksillustrated.py b/cookbook/helper/scrapers/cooksillustrated.py index f2b2f717..3232a99a 100644 --- a/cookbook/helper/scrapers/cooksillustrated.py +++ b/cookbook/helper/scrapers/cooksillustrated.py @@ -45,7 +45,8 @@ class CooksIllustrated(AbstractScraper): if not self.recipe: self.get_recipe() return "\n".join( - [self.recipe['whyThisWorks']] + ['Note: ' + self.recipe.get('headnote', '')] + + [self.recipe['whyThisWorks']] + [ instruction['fields']['content'] for instruction in self.recipe['instructions']