diff --git a/cookbook/helper/recipe_url_import.py b/cookbook/helper/recipe_url_import.py index 34b91eec..8166fa47 100644 --- a/cookbook/helper/recipe_url_import.py +++ b/cookbook/helper/recipe_url_import.py @@ -15,7 +15,7 @@ def get_from_scraper(scrape, space): recipe_json = {} try: - recipe_json['name'] = scrape.title() + recipe_json['name'] = parse_name(scrape.title() or scrape.schema.data.get('name') or '') except TypeError: recipe_json['name'] = ''