返回顶部
m

multi-search-engine多引擎搜索

Multi search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 2.1.3
安全检测
已通过
119,467
下载量
免费
免费
564
收藏
概述
安装方式
版本历史

multi-search-engine

多搜索引擎

集成16个搜索引擎,无需API密钥即可进行网页抓取。

工作流程

  1. 1. 准备阶段:AI智能体初始化一个空的内存Cookie存储。仅在搜索操作被拒绝访问时动态获取Cookie
  1. 2. 语言评估:检测搜索查询的语言属性。如果查询为中文,使用国内搜索引擎(百度、必应中国、必应国际、360、搜狗、微信、神马)。如果查询为非中文,使用国际搜索引擎(谷歌、谷歌香港、DuckDuckGo、雅虎、Startpage、Brave、Ecosia、Qwant、WolframAlpha)。根据查询相关性和可用性选择引擎。
  1. 3. 受控搜索:使用web_fetch执行带速率限制的搜索请求:
- 请求之间添加1-2秒延迟以尊重服务器负载 - 以3-4个引擎为一组进行批量请求,批次之间顺序执行 - 包含标准浏览器头部以识别为合法用户代理 - 如果访问被拒绝(403/429),获取引擎主页以获取新的会话Cookie
  1. 4. Cookie管理
- Cookie仅在运行时存储在内存中 - 当搜索请求失败时按需获取Cookie - 不从config.json或任何文件读取或写入Cookie - 搜索会话完成后清除Cookie - 仅捕获来自搜索引擎域的会话Cookie
  1. 5. 重试机制:如果搜索因Cookie/会话问题失败,在2秒延迟后使用新获取的Cookie重试一次
  1. 6. 结果聚合:整合来自搜索引擎的成功结果,组织并总结以输出核心搜索报告

搜索引擎

国内(7个)

  • - 百度:https://www.baidu.com/s?wd={keyword}
  • 必应中国:https://cn.bing.com/search?q={keyword}&ensearch=0
  • 必应国际:https://cn.bing.com/search?q={keyword}&ensearch=1
  • 360:https://www.so.com/s?q={keyword}
  • 搜狗:https://sogou.com/web?query={keyword}
  • 微信:https://wx.sogou.com/weixin?type=2&query={keyword}
  • 神马:https://m.sm.cn/s?q={keyword}

国际(9个)

  • - 谷歌:https://www.google.com/search?q={keyword}
  • 谷歌香港:https://www.google.com.hk/search?q={keyword}
  • DuckDuckGo:https://duckduckgo.com/html/?q={keyword}
  • 雅虎:https://search.yahoo.com/search?p={keyword}
  • Startpage:https://www.startpage.com/sp/search?query={keyword}
  • Brave:https://search.brave.com/search?q={keyword}
  • Ecosia:https://www.ecosia.org/search?q={keyword}
  • Qwant:https://www.qwant.com/?q={keyword}
  • WolframAlpha:https://www.wolframalpha.com/input?i={keyword}

快速示例

javascript
// 基本搜索
web_fetch({url: https://www.google.com/search?q=python+tutorial})

// 指定站点
web_fetch({url: https://www.google.com/search?q=site:github.com+react})

// 文件类型
web_fetch({url: https://www.google.com/search?q=machine+learning+filetype:pdf})

// 时间筛选(过去一周)
web_fetch({url: https://www.google.com/search?q=ai+news&tbs=qdr:w})

// 隐私搜索
web_fetch({url: https://duckduckgo.com/html/?q=privacy+tools})

// DuckDuckGo快捷指令
web_fetch({url: https://duckduckgo.com/html/?q=!gh+tensorflow})

// 知识计算
web_fetch({url: https://www.wolframalpha.com/input?i=100+USD+to+CNY})

高级运算符

运算符示例描述
site:site:github.com python在站点内搜索
filetype:
filetype:pdf report | 特定文件类型 | | | machine learning | 精确匹配 | | - | python -snake | 排除术语 | | OR | cat OR dog | 任一术语 |

时间筛选器

参数描述
tbs=qdr:h过去一小时
tbs=qdr:d
过去一天 | | tbs=qdr:w | 过去一周 | | tbs=qdr:m | 过去一个月 | | tbs=qdr:y | 过去一年 |

隐私引擎

  • - DuckDuckGo:无追踪
  • Startpage:谷歌结果+隐私保护
  • Brave:独立索引
  • Qwant:符合欧盟GDPR标准

快捷指令(DuckDuckGo)

指令目标
!g谷歌
!gh
GitHub | | !so | Stack Overflow | | !w | 维基百科 | | !yt | YouTube |

WolframAlpha查询

  • - 数学:integrate x^2 dx
  • 转换:100 USD to CNY
  • 股票:AAPL stock
  • 天气:weather in Beijing

文档

  • - references/advanced-search.md - 国内搜索指南
  • references/international-search.md - 国际搜索指南
  • CHANGELOG.md - 版本历史

许可证

MIT

安全与隐私声明

Cookie处理

  • - 目的:Cookie仅用于在被拒绝访问(403/429错误)时维护搜索会话状态
  • 存储:Cookie严格在运行时内存中保存 - 从不持久化到磁盘或配置文件
  • 获取:仅在搜索请求失败时从搜索引擎主页按需获取Cookie
  • 范围:仅捕获来自特定搜索引擎域的会话Cookie
  • 生命周期:搜索会话完成后立即清除Cookie
  • 无预配置:启动时不从config.json或任何外部文件加载Cookie
  • 无API密钥:此工具使用标准网页搜索URL,无需认证

抓取伦理

  • - 速率限制:在请求之间实施合理延迟(建议1-2秒)
  • 尊重robots.txt:遵守搜索引擎抓取策略
  • 服务条款:用户负责遵守搜索引擎服务条款
  • 目的:设计用于合法搜索聚合,非大规模数据抓取

数据处理

  • - 无个人数据:工具不收集或传输用户个人信息
  • 本地执行:所有操作在本地运行,无外部数据传输
  • 会话隔离:Cookie为会话特定,使用后清除

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 multi-search-engine-1776363751 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 multi-search-engine-1776363751 技能

通过命令行安装

skillhub install multi-search-engine-1776363751

下载

⬇ 下载 multi-search-engine v2.1.3(免费)

文件大小: 11.38 KB | 发布时间: 2026-4-17 15:07

v2.1.3 最新 2026-4-17 15:07
**Summary:**
This version updates cookie handling and search execution policies for increased privacy and more ethical crawling.

- Switched to initializing an empty in-memory cookie store; no cookies are pre-loaded from files.
- Cookies are acquired dynamically only when a search request is denied and cleared immediately after the session.
- Only relevant search engines are queried, based on language and engine availability, rather than always searching all engines in a category.
- Introduced stricter rate limiting (1-2 second delays, batch sizes of 3-4) to control request flow.
- Strengthened privacy statements: cookies are held strictly in memory and never written to disk or config files.
- Improved documentation of search logic, cookie management, and crawling ethics.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部