diff --git a/cookbook/helper/scrapers/scrapers.py b/cookbook/helper/scrapers/scrapers.py index ff052f2c1..4c41474e5 100644 --- a/cookbook/helper/scrapers/scrapers.py +++ b/cookbook/helper/scrapers/scrapers.py @@ -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)