Install
openclaw skills install @tom859174-sketch/web-search-dashscopeopenclaw skills install @tom859174-sketch/web-search-dashscope此技能使用 Serper API 进行实时互联网搜索,基于 Google Search 结果。
编辑 web_search.py 文件,在顶部找到以下行:
SERPER_API_KEY = "替换成你的 Serper API_KEY"
将 替换成你的 Serper API_KEY 替换为你实际的 API Key。
确保已安装 Python requests 库:
pip install requests
python web_search.py "搜索关键词"
python web_search.py "今日天气" 5
对 OpenClaw 说:
https://google.serper.dev/search解决: 运行 pip install requests
解决: 检查网络连接,确认能访问外网
解决: 检查 web_search.py 中的 API Key 是否正确填写
解决: 尝试更换搜索关键词,或检查 API Key 额度是否用完