chore: Switch duckduckgo-search to ddgs (#3143)

* Switch to ddgs

duckduckgo_search was deprecated, this is the recommended replacement

* Update test_service_search_provider_guards.py

According to review comment
This commit is contained in:
ThomasAngel
2026-06-10 18:59:47 +03:00
committed by GitHub
parent 96975f8dd9
commit a0b0420e6f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ def duckduckgo_search(query: str, count: Optional[int] = None, time_filter: Opti
return []
try:
from duckduckgo_search import DDGS
from ddgs import DDGS
except ImportError:
logger.warning("duckduckgo-search package not installed; using HTML fallback")
return _html_fallback()