Web Search by Desearch技能使用说明

subsun 4周前 (03-26) openclaw小龙虾 140 0

网络搜索 By Desearch

实时网络搜索,返回结构化的SERP风格结果,包含标题、链接和摘要。

快速开始

  1. 从以下网址获取API密钥:https://console.desearch.ai
  2. 设置环境变量:export DESEARCH_API_KEY='your-key-here'

用法

# 基本网络搜索
desearch.py web "quantum computing"

# 分页结果
desearch.py web "quantum computing" --start 10

选项

选项描述
--start分页偏移量(默认值:0)。用于获取下一页结果。

响应

示例

desearch.py web "best sights in Georgia"
{
  "data": [
    {
      "title": "Cool places and fun things to do in Georgia ? : r/solotravel",
      "snippet": "I was in Georgia earlier this month. My favorite place was Mtirala National Park in Adjara. The mountains and forest were absolutely beautiful ...",
      "link": "https://www.reddit.com/r/solotravel/comments/py4wls/cool_places_and_fun_things_to_do_in_georgia/",
    },
  ]
}

说明

  • 每页最多返回10个结果。使用--start进行分页。

错误

状态 401,未授权(例如,缺少/无效的API密钥)

{
  "detail": "Invalid or missing API key"
}

状态 402,需要付款(例如,余额耗尽)

{
  "detail": "Insufficient balance, please add funds to your account to continue using the service."
}

资源

天猫隐藏优惠券

网淘吧

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

相关推荐

网友评论

  • (*)

最新评论

用户管理

您好,欢迎到访网站!
    用户注册

上网淘巴领天猫淘宝优惠券,一年省好几千。

广告  ×

您是本站第818716名访客 今日有0篇新文章/评论