This commit is contained in:
hay-kot
2021-03-05 21:21:35 -09:00
parent 8c1a97df2c
commit 84639b616d
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ def create_from_url(url: str) -> Recipe:
"""
r = requests.get(url)
new_recipe = extract_recipe_from_html(r.text, url)
new_recipe = Cleaner.clean(new_recipe)
new_recipe = Cleaner.clean(new_recipe, url)
new_recipe = download_image_for_recipe(new_recipe)
recipe = Recipe(**new_recipe)