Copilot Scraper

Sử dụng scraper.copilot để thu thập các câu trả lời do Microsoft Copilot tạo ra trên các chế độ tìm kiếm, trò chuyện, suy luận và học tập. Actor trả về câu trả lời dạng Markdown cùng với mọi trích dẫn mà Copilot hiển thị.

Ví dụ Yêu cầu

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"
    }
  }'

Tham số Body

ParameterTypeRequiredDescription
promptstringCóPrompt gửi đến Copilot.
countrystringCóMã quốc gia hoặc khu vực.
modestringCóChế độ chạy: search, smart, chat (Phản hồi nhanh), reasoning (Think Deeper), hoặc study (Học và tìm hiểu).
should_fetch_share_linkbooleanKhôngLấy liên kết chia sẻ.

Trường Phản hồi

ParameterTypeDescription
result_textstringNội dung Markdown do Copilot tạo ra.
promptstringPrompt gốc.
modestringChế độ đã sử dụng: search, smart, chat, reasoning, hoặc study.
linksarrayTất cả liên kết ra ngoài do Copilot trả về.
citationsarrayCác đối tượng trích dẫn được trích xuất từ phản hồi.
citations.titlestringTiêu đề của nguồn được trích dẫn.
citations.urlstringURL của nguồn được trích dẫn.
share_urlstringLiên kết chia sẻ.