Spaces:
Sleeping
Sleeping
peterpeter8585
commited on
Commit
•
0d6cd6a
1
Parent(s):
20f3874
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def extract_text_from_webpage(html_content):
|
|
68 |
visible_text = soup.get_text(strip=True)
|
69 |
return visible_text
|
70 |
|
71 |
-
def search(term, num_results=1, lang="
|
72 |
"""Performs a Google search and returns the results."""
|
73 |
escaped_term = urllib.parse.quote_plus(term)
|
74 |
start = 0
|
|
|
68 |
visible_text = soup.get_text(strip=True)
|
69 |
return visible_text
|
70 |
|
71 |
+
def search(term, num_results=1, lang="ko", advanced=True, sleep_interval=0, timeout=5, safe="active", ssl_verify=None):
|
72 |
"""Performs a Google search and returns the results."""
|
73 |
escaped_term = urllib.parse.quote_plus(term)
|
74 |
start = 0
|