多搜索引擎整合,整合4个搜索引擎:Google、DuckDuckGo、Brave Search和WolframAlpha。支持高级搜索运算符、时间筛选等功能。
Integration of four search endpoints for web fetching without API keys.
EngineURL templateGooglehttps://www.google.com/search?q={keyword}DuckDuckGohttps://duckduckgo.com/html/?q={keyword}Bravehttps://search.brave.com/search?q={keyword}WolframAlphahttps://www.wolframalpha.com/input?i={keyword}
javascript
// Google
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"})
// DuckDuckGo
web_fetch({"url": "https://duckduckgo.com/html/?q=privacy+tools"})
web_fetch({"url": "https://duckduckgo.com/html/?q=!g+machine+learning"})
// Brave
web_fetch({"url": "https://search.brave.com/search?q=privacy+tools"})
// WolframAlpha
web_fetch({"url": "https://www.wolframalpha.com/input?i=100+USD+to+CNY"})
OperatorExampleDescriptionsite:``site:github.com pythonSearch within sitefiletype:``filetype:pdf reportSpecific file type""``"machine learning"Exact match-``python -snakeExclude termOR``cat OR dogEither term
ParameterDescriptiontbs=qdr:hPast hourtbs=qdr:dPast daytbs=qdr:wPast weektbs=qdr:mPast monthtbs=qdr:yPast year
web_fetch.Use inside the q parameter on duckduckgo.com (many bangs redirect to third-party sites when used in a browser; web_fetch only retrieves the DuckDuckGo URL you request).
BangRole!gRun query on Google!braveRun query on Brave Search
integrate x^2 dx100 USD to CNYAAPL stockweather in Beijingreferences/international-search.md — Detailed guide for these four enginesCHANGELOG.md — Version historyMIT