mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
minor bug fix in bookmarklet
This commit is contained in:
@@ -37,7 +37,7 @@ def text_scraper(text, url=None):
|
||||
self.recipe = None
|
||||
try:
|
||||
self.schema = SchemaOrg(page_data)
|
||||
except JSONDecodeError:
|
||||
except (JSONDecodeError, AttributeError):
|
||||
pass
|
||||
|
||||
return TextScraper(text, url)
|
||||
|
||||
Reference in New Issue
Block a user