bohmian commited on
Commit
1d1be9c
1 Parent(s): 1aa7763

Update web_scrape_and_pdf_loader.py

Browse files
Files changed (1) hide show
  1. web_scrape_and_pdf_loader.py +1 -1
web_scrape_and_pdf_loader.py CHANGED
@@ -45,7 +45,7 @@ def duckduckgo_scrape(country, search_term, n_search_results):
45
  all_links = []
46
 
47
  with DDGS() as ddgs:
48
- results = ddgs.text(f"{search term}", max_results=n_search_results)
49
  for result in results:
50
  result['country'] = country
51
  all_links.append(result)
 
45
  all_links = []
46
 
47
  with DDGS() as ddgs:
48
+ results = ddgs.text(search_term, max_results=n_search_results)
49
  for result in results:
50
  result['country'] = country
51
  all_links.append(result)