pvanand commited on
Commit
d73dc53
·
verified ·
1 Parent(s): 3938059

Update helper_functions_api.py

Browse files
Files changed (1) hide show
  1. 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
- @cache(expire=604800)
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: