Spaces:
Running
on
Zero
Running
on
Zero
Update chatbot.py
Browse files- chatbot.py +1 -2
chatbot.py
CHANGED
@@ -295,8 +295,7 @@ def search(term, num_results=3, lang="en", timeout=5, safe="active", ssl_verify=
|
|
295 |
continue
|
296 |
for result in result_block:
|
297 |
link = result.find("a", href=True)
|
298 |
-
|
299 |
-
link = link["href"]
|
300 |
thread = Thread(target=lambda: all_results.append(fetch_and_extract(link, max_chars_per_page)))
|
301 |
threads.append(thread)
|
302 |
thread.start()
|
|
|
295 |
continue
|
296 |
for result in result_block:
|
297 |
link = result.find("a", href=True)
|
298 |
+
link = link["href"]
|
|
|
299 |
thread = Thread(target=lambda: all_results.append(fetch_and_extract(link, max_chars_per_page)))
|
300 |
threads.append(thread)
|
301 |
thread.start()
|