Copilot 抓取器

使用 scraper.copilot 捕获 Microsoft Copilot 在搜索、聊天、推理和学习模式下生成的回答。该 Actor 将返回 Markdown 格式的回答以及 Copilot 呈现的所有引用来源。

请求示例

curl 'https://api.scrapeless.com/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.copilot",
    "input": {
      "prompt": "Recommended attractions in New York",
      "country": "US",
      "mode": "search"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

请求体参数

参数类型是否必填描述
promptstring是发送给 Copilot 的提示词。
countrystring是国家或地区代码。
modestring是运行模式:search(搜索)、smart(智能)、chat(快速响应)、reasoning(深度思考)或 study(学习)。
should_fetch_share_linkboolean否获取分享链接。
should_fetch_htmlboolean否获取 HTML 内容。

响应字段

参数类型描述
result_textstringCopilot 生成的 Markdown 正文。
promptstring原始提示词。
modestring使用的模式:search、smart、chat、reasoning 或 study。
linksarrayCopilot 返回的所有出站链接。
citationsarray从响应中提取的引用对象。
citations.titlestring引用来源的标题。
citations.urlstring引用来源的 URL。
share_urlstring分享链接。
htmlstringHTML 数据。