网淘吧来吧,欢迎您!

返回首页 微信
微信
手机版
手机版

Web Search by Desearch技能使用说明

2026-03-26 新闻来源:网淘吧 围观:87
电脑广告
手机广告

网络搜索 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."
}

资源

天猫隐藏优惠券

网淘吧

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏
文章底部电脑广告
手机广告位-内容正文底部

相关文章

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