This commit is contained in:
smilerz 2021-04-15 09:55:07 -05:00
parent fef5236931
commit c716346f1f

View File

@ -9,6 +9,7 @@ from json import JSONDecodeError
from recipe_scrapers._utils import get_host_name, normalize_string
from urllib.parse import unquote
def get_recipe_from_source(text, url, space):
def build_node(k, v):
if isinstance(v, dict):
@ -67,7 +68,7 @@ def get_recipe_from_source(text, url, space):
'servings': '',
'prepTime': '',
'cookTime': ''
}
}
recipe_tree = []
parse_list = []
html_data = []