diff --git a/cookbook/helper/recipe_url_import.py b/cookbook/helper/recipe_url_import.py index f8f171e9..ab421e38 100644 --- a/cookbook/helper/recipe_url_import.py +++ b/cookbook/helper/recipe_url_import.py @@ -236,7 +236,6 @@ def get_from_scraper(scrape, space): recipe_json['prepTime'] = 0 recipe_json['cookTime'] = 0 - description += "\n\nImported from " + scrape.url recipe_json['description'] = description try: @@ -315,6 +314,7 @@ def get_from_scraper(scrape, space): except AttributeError: recipe_json['recipeInstructions'] = "" + recipe_json['recipeInstructions'] += "\n\nImported from " + scrape.url return recipe_json diff --git a/cookbook/templates/url_import.html b/cookbook/templates/url_import.html index c2116008..64c4ec0e 100644 --- a/cookbook/templates/url_import.html +++ b/cookbook/templates/url_import.html @@ -63,7 +63,7 @@ - +