minor bug fix in bookmarklet

This commit is contained in:
smilerz
2021-05-03 08:40:09 -05:00
parent 6110c75f59
commit 6dfe737ec5

View File

@@ -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)