simplified url import

This commit is contained in:
smilerz
2021-04-05 12:32:11 -05:00
parent 2c27e06bfb
commit 5fff5b97da
4 changed files with 27 additions and 75 deletions

View File

@@ -102,6 +102,7 @@ def get_from_scraper(scrape, space):
recipe_json['recipeInstructions'] = ""
if scrape.url:
recipe_json['url'] = scrape.url
recipe_json['recipeInstructions'] += "\n\nImported from " + scrape.url
return recipe_json