Shreyas094
commited on
Commit
•
5a57fa7
1
Parent(s):
6848cbe
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def google_search(term, num_results=5, lang="en", timeout=5, safe="active", ssl_
|
|
126 |
if not result_block:
|
127 |
print("No more results found.")
|
128 |
break
|
129 |
-
|
130 |
|
131 |
for result in result_block:
|
132 |
link = result.find("a", href=True)
|
|
|
126 |
if not result_block:
|
127 |
print("No more results found.")
|
128 |
break
|
129 |
+
keywords = term.split() # Use the search term as keywords for filtering
|
130 |
|
131 |
for result in result_block:
|
132 |
link = result.find("a", href=True)
|