fixes to pass tests

This commit is contained in:
smilerz
2021-04-17 13:43:34 -05:00
parent 0640a265fc
commit 5869a8ad1b
3 changed files with 253 additions and 20 deletions

View File

@ -19,7 +19,7 @@ def get_from_scraper(scrape, space):
recipe_json['name'] = parse_name(scrape.title() or scrape.schema.data.get('name') or '')
except (TypeError, AttributeError):
recipe_json['name'] = ''
try:
description = scrape.schema.data.get("description") or ''
except AttributeError: