Spaces:
Sleeping
Sleeping
Update helper_functions_api.py
Browse files- helper_functions_api.py +2 -2
helper_functions_api.py
CHANGED
@@ -210,9 +210,9 @@ def extract_main_content(html):
|
|
210 |
else:
|
211 |
return ""
|
212 |
|
213 |
-
|
214 |
def process_content(data_format, url, query):
|
215 |
-
html_content = fetch_content(url)
|
216 |
if html_content:
|
217 |
content = extract_main_content(html_content)
|
218 |
if content:
|
|
|
210 |
else:
|
211 |
return ""
|
212 |
|
213 |
+
|
214 |
def process_content(data_format, url, query):
|
215 |
+
html_content = await fetch_content(url)
|
216 |
if html_content:
|
217 |
content = extract_main_content(html_content)
|
218 |
if content:
|