updated ATK scraper to include header notes in instructions
This commit is contained in:
parent
f594ba4c69
commit
b9ee77709b
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user