mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
updated ATK scraper to include header notes in instructions
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user