Spaces:
Paused
Paused
Shreyas094
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ _useragent_list = [
|
|
154 |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36",
|
155 |
]
|
156 |
|
157 |
-
def google_search(term, num_results=
|
158 |
escaped_term = urllib.parse.quote_plus(term)
|
159 |
start = 0
|
160 |
all_results = []
|
|
|
154 |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36",
|
155 |
]
|
156 |
|
157 |
+
def google_search(term, num_results=5, lang="en", timeout=5, safe="active", ssl_verify=None):
|
158 |
escaped_term = urllib.parse.quote_plus(term)
|
159 |
start = 0
|
160 |
all_results = []
|