sjlgg/dsh-free-web-search ↗★ 0
dsh-web-search-free
Keyless web search and fetch providers for the DeepSeek Harness web capability seam (ctx.web)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sjlgg/dsh-free-web-search说明文档
阅读完整 README ↗配置
挂在 web-search-free 行的 config 下:
| 字段 | 默认 | 说明 |
|---|---|---|
backends | ['bing','so360'] | 后端顺序;空数组等同默认 |
region | wt-wt | DuckDuckGo 式地区码,映射 Bing 的 mkt/setLang(cn-zh → zh-CN) |
timeoutMs | 8000 | 每个后端的超时 |
resultsPerBackend | 10 | 调用未给 maxResults 时向后端请求的条数 |
searxngBaseURL | 无 | 启用 searxng 时必填,非法则加载期报错 |
userAgent | 桌面 Chrome UA | 两个 provider 共用 |
fetchProvider | true | 是否注册 free-http |
fetchTimeoutMs | 30000 | 抓取整体超时 |
maxResponseBytes | 5242880 | 保留的响应字节上限,超出截断并置 truncated |
maxRedirects | 5 | 跳转跳数上限 |
maxUrlLength | 2048 | URL 长度上限 |
allowPrivateHosts | false | 是否允许抓取回环 / 内网 / 链路本地地址 |
示例(中文结果优先,并加上自托管 SearXNG 兜底):
- id: web-search-free
config:
backends: [bing, so360, searxng]
region: cn-zh
searxngBaseURL: https://searx.example.internal