Skip to content

Commit

Permalink
Remove some outdated quirk/workaround handling code for schema.org da…
Browse files Browse the repository at this point in the history
…ta in mobkitchen scraper (#689)
  • Loading branch information
jayaddison committed Dec 16, 2022
1 parent b6de341 commit 30d97e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions recipe_scrapers/mobkitchen.py
Expand Up @@ -18,12 +18,6 @@ def __init__(self, *args, **kwargs):
break

recipe_schema = json.loads(recipe_schema)

# MobKitchen don't follow the Recipe schema correctly, so this fixes
# the formatting so the Schema is parsed correctly.
for instruction in recipe_schema["recipeInstructions"]:
instruction["text"] = instruction["text"]["result"]

self.schema = SchemaOrg(recipe_schema, raw=True)

@classmethod
Expand Down

0 comments on commit 30d97e4

Please sign in to comment.