treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Bronier/dsh-web-search-so360
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness (DSH) 的免 API Key 联网搜索提供方,双引擎 fallback:360 搜索(so.com)为主,Bing 为备。
DSH 官方的 web_search 走 DeepSeek 通道:需要 DEEPSEEK_API_KEY,且每次搜索都是一次完整的模型调用(有延迟、有 token 开销)。本插件把搜索通道替换为公开 SERP 抓取,零成本:
data-mdurl 内嵌真实链接fetch,无 Playwright/Puppeteerdsh plugin --profile desktop add github:Bronier/dsh-web-search-so360
安装后重启 DSH 生效。卸载即恢复官方通道。
https://www.so.com/s?q=<query><h3 class="res-title"> 锚点,标题去标签、提取 <p class="res-desc"> 摘要data-mdurl 属性(360 内嵌真实地址),缺失时回退抓 /link?m=... 跳转页{ sources, truncated: false }https://www.bing.com/ 获取 cookie(手动 fetch redirect=manual 读取 Set-Cookie)https://www.bing.com/search?q=...&mkt=zh-CN<li class="b_algo"> 块,解码 base64url 跳转参数拿真实 URL所有引擎都失败时才报错,错误信息列出每个引擎的具体原因,例如:
so360: all engines failed (so360: no results parsed; bing: no parsable results)
apply(ctx, config) 支持以下键:
| 键 | 默认值 | 说明 |
|---|---|---|
engines |
['so360', 'bing'] |
引擎执行顺序,第一个成功的返回 |
示例:只用 Bing,不用 so360:
# cordis.patch.yml
- insert:
- id: web-search-so360
name: 'dsh-web-search-so360'
config:
engines: ['bing']
MIT © 2026 Bronier
A zero-API-key dual-engine web search provider for DeepSeek Harness: 360 Search (so.com) as primary, Bing as fallback.
data-mdurl for real URLs (no redirect fetch needed)b_algo blocksfetch onlyInstall:
dsh plugin --profile desktop add github:Bronier/dsh-web-search-so360
Restart DSH afterwards. Uninstalling restores official routing automatically.
Configurable via apply(ctx, { engines: ['so360', 'bing'] }).
Known limits: SERP scraping may break on anti-bot/layout changes; ~10 results per page; personal local research use.
MIT © 2026 Bronier
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: no-api-key。