Multi Search Engine
by @gpyangyoujun
Multi search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
clawhub install multi-search-engineπ About This Skill
name: "multi-search-engine" description: "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."
Multi Search Engine
Integration of 16 search engines for web crawling without API keys.
Workflow
1. Preparation: AI Agent initializes an empty in-memory cookie store. Cookies are only acquired dynamically during search operations when access is denied
2. Language Evaluation: Detect the language attribute of the search query. If the query is in Chinese, use Domestic search engines (Baidu, Bing CN, Bing INT, 360, Sogou, WeChat, Shenma). If the query is non-Chinese, use International search engines (Google, Google HK, DuckDuckGo, Yahoo, Startpage, Brave, Ecosia, Qwant, WolframAlpha). Select engines based on query relevance and availability.
3. Controlled Search: Use web_fetch to execute search requests with rate limiting: - Add 1-2 second delay between requests to respect server load - Batch requests in groups of 3-4 engines with sequential execution between batches - Include standard browser headers to identify as legitimate user agent - If access is denied (403/429), fetch engine homepage to obtain fresh session cookies
4. Cookie Management: - Cookies are stored ONLY in memory during runtime - Cookies are acquired on-demand when search requests fail - No cookies are read from or written to config.json or any file - Cookies are cleared after search session completes - Only session cookies from search engine domains are captured
5. Retry Mechanism: If a search fails due to cookie/session issues, retry once with freshly acquired cookies after a 2-second delay
6. Result Aggregation: Consolidate successful results from search engines, organize and summarize them to output a core search report
Search Engines
Domestic (7)
https://www.baidu.com/s?wd={keyword}https://cn.bing.com/search?q={keyword}&ensearch=0https://cn.bing.com/search?q={keyword}&ensearch=1https://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}International (9)
https://www.google.com/search?q={keyword}https://www.google.com.hk/search?q={keyword}https://duckduckgo.com/html/?q={keyword}https://search.yahoo.com/search?p={keyword}https://www.startpage.com/sp/search?query={keyword}https://search.brave.com/search?q={keyword}https://www.ecosia.org/search?q={keyword}https://www.qwant.com/?q={keyword}https://www.wolframalpha.com/input?i={keyword}Quick Examples
// Basic search
web_fetch({"url": "https://www.google.com/search?q=python+tutorial"})// Site-specific
web_fetch({"url": "https://www.google.com/search?q=site:github.com+react"})
// File type
web_fetch({"url": "https://www.google.com/search?q=machine+learning+filetype:pdf"})
// Time filter (past week)
web_fetch({"url": "https://www.google.com/search?q=ai+news&tbs=qdr:w"})
// Privacy search
web_fetch({"url": "https://duckduckgo.com/html/?q=privacy+tools"})
// DuckDuckGo Bangs
web_fetch({"url": "https://duckduckgo.com/html/?q=!gh+tensorflow"})
// Knowledge calculation
web_fetch({"url": "https://www.wolframalpha.com/input?i=100+USD+to+CNY"})
Advanced Operators
| Operator | Example | Description |
|----------|---------|-------------|
| site: | site:github.com python | Search within site |
| filetype: | filetype:pdf report | Specific file type |
| "" | "machine learning" | Exact match |
| - | python -snake | Exclude term |
| OR | cat OR dog | Either term |
Time Filters
| Parameter | Description |
|-----------|-------------|
| tbs=qdr:h | Past hour |
| tbs=qdr:d | Past day |
| tbs=qdr:w | Past week |
| tbs=qdr:m | Past month |
| tbs=qdr:y | Past year |
Privacy Engines
Bangs Shortcuts (DuckDuckGo)
| Bang | Destination |
|------|-------------|
| !g | Google |
| !gh | GitHub |
| !so | Stack Overflow |
| !w | Wikipedia |
| !yt | YouTube |
WolframAlpha Queries
integrate x^2 dx100 USD to CNYAAPL stockweather in BeijingDocumentation
references/advanced-search.md - Domestic search guidereferences/international-search.md - International search guideCHANGELOG.md - Version historyLicense
MIT