Shreyas094
commited on
Commit
•
2b6834a
1
Parent(s):
b9091e4
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ def duckduckgo_search(query, num_results=10, time_range="", language="", safesea
|
|
83 |
region='wt-wt',
|
84 |
safesearch=safesearch_setting,
|
85 |
timelimit=timelimit,
|
86 |
-
max_results=num_results
|
|
|
87 |
)
|
88 |
|
89 |
return [{"url": result["href"], "title": result["title"]} for result in results]
|
|
|
83 |
region='wt-wt',
|
84 |
safesearch=safesearch_setting,
|
85 |
timelimit=timelimit,
|
86 |
+
max_results=num_results,
|
87 |
+
backend: str = "html"
|
88 |
)
|
89 |
|
90 |
return [{"url": result["href"], "title": result["title"]} for result in results]
|