一个聚合多种网络搜索服务结果的元搜索库
一个聚合多种网络搜索服务结果的元搜索库。
pip install -U ddgs # Base install
pip install -U ddgs[api] # API server (FastAPI)
pip install -U ddgs[mcp] # MCP server (stdio)ddgs - -help-- 安装
pip install -U ddgs[api]-- CLI
ddgs api # Start server in foreground
ddgs api -d # Start in detached mode (background)
ddgs api -s # Stop detached server
ddgs api --host 127.0.0.1 --port 4479 # Default port 4479
ddgs api -pr socks5h://127.0.0.1:9150 # With proxy-- Docker compose
git clone https://github.com/deedy5/ddgs && cd ddgs
docker-compose up --build-- Bash 脚本
git clone https://github.com/deedy5/ddgs && cd ddgs
chmod +x start_api.sh
./start_api.sh| 端点 | 方法 | 描述 |
|---|---|---|
/search/text |
GET, POST | 文本搜索 |
/search/images |
GET, POST | 图片搜索 |
/search/news |
GET, POST | 新闻搜索 |
/search/videos |
GET, POST | 视频搜索 |
/search/books |
GET, POST | 图书搜索 |
/extract |
GET, POST | 从URL提取内容 |
/health |
GET | 健康检查 |
/docs |
GET | Swagger UI |
/redoc |
GET | ReDoc 文档 |
pip install -U ddgs[mcp]ddgs mcp # Start MCP server (stdio transport)
ddgs mcp -pr socks5h://127.0.0.1:9150 # With proxy| 工具 | 描述 |
|---|---|
search_text |
网络文本搜索 |
暂无开放 Issues,或尚未同步最近议题。