Chinese-LangChain / tests /test_duckduckgo_search.py
yanqiang
update
bd111f7
raw
history blame
221 Bytes
from duckduckgo_search import ddg
from duckduckgo_search.utils import SESSION
# SESSION.proxies = {
# "http": f"socks5h://localhost:7890",
# "https": f"socks5h://localhost:7890"
# }
r = ddg("马保国")
print(r)