mirror of
https://github.com/open-webui/open-webui
synced 2025-05-23 14:24:22 +00:00
duckduckgo: backend api has been deprecated since december
also increase duckduckgo-search version
see 3ee8e08b1c
This commit is contained in:
parent
337c7caafa
commit
760ea3f4af
@ -28,7 +28,7 @@ def search_duckduckgo(
|
|||||||
# Use the ddgs.text() method to perform the search
|
# Use the ddgs.text() method to perform the search
|
||||||
try:
|
try:
|
||||||
search_results = ddgs.text(
|
search_results = ddgs.text(
|
||||||
query, safesearch="moderate", max_results=count, backend="api"
|
query, safesearch="moderate", max_results=count, backend="lite"
|
||||||
)
|
)
|
||||||
except RatelimitException as e:
|
except RatelimitException as e:
|
||||||
log.error(f"RatelimitException: {e}")
|
log.error(f"RatelimitException: {e}")
|
||||||
|
@ -98,7 +98,7 @@ pytube==15.0.0
|
|||||||
|
|
||||||
extract_msg
|
extract_msg
|
||||||
pydub
|
pydub
|
||||||
duckduckgo-search~=7.3.2
|
duckduckgo-search~=7.5.5
|
||||||
|
|
||||||
## Google Drive
|
## Google Drive
|
||||||
google-api-python-client
|
google-api-python-client
|
||||||
|
@ -104,7 +104,7 @@ dependencies = [
|
|||||||
|
|
||||||
"extract_msg",
|
"extract_msg",
|
||||||
"pydub",
|
"pydub",
|
||||||
"duckduckgo-search~=7.3.2",
|
"duckduckgo-search~=7.5.5",
|
||||||
|
|
||||||
"google-api-python-client",
|
"google-api-python-client",
|
||||||
"google-auth-httplib2",
|
"google-auth-httplib2",
|
||||||
|
Loading…
Reference in New Issue
Block a user