flake
This commit is contained in:
parent
fef5236931
commit
c716346f1f
@ -9,6 +9,7 @@ from json import JSONDecodeError
|
|||||||
from recipe_scrapers._utils import get_host_name, normalize_string
|
from recipe_scrapers._utils import get_host_name, normalize_string
|
||||||
from urllib.parse import unquote
|
from urllib.parse import unquote
|
||||||
|
|
||||||
|
|
||||||
def get_recipe_from_source(text, url, space):
|
def get_recipe_from_source(text, url, space):
|
||||||
def build_node(k, v):
|
def build_node(k, v):
|
||||||
if isinstance(v, dict):
|
if isinstance(v, dict):
|
||||||
@ -67,7 +68,7 @@ def get_recipe_from_source(text, url, space):
|
|||||||
'servings': '',
|
'servings': '',
|
||||||
'prepTime': '',
|
'prepTime': '',
|
||||||
'cookTime': ''
|
'cookTime': ''
|
||||||
}
|
}
|
||||||
recipe_tree = []
|
recipe_tree = []
|
||||||
parse_list = []
|
parse_list = []
|
||||||
html_data = []
|
html_data = []
|
||||||
|
Loading…
Reference in New Issue
Block a user