Bing AI 模式爬虫

使用 scraper.bingaimode 捕获 Bing AI 模式的回答,包括 Markdown 格式和原始回答内容、引用来源以及广告。您还可以请求 渲染后的 HTML。

请求示例

curl 'https://api.scrapeless.com/api/v2/scraper/request' \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: {you_api_key}' \
  --data '{
    "actor": "scraper.bingaimode",
    "input": {
      "prompt": "Most reliable proxy service for data extraction",
      "country": "US"
    },
    "webhook": {
      "url": "http://www.youwebhook.com"
    }
  }'

请求体参数

参数类型必填描述
promptstring是发送给 Bing AI 模式的提示词。
countrystring是国家或地区代码。
should_fetch_htmlboolean否是否返回渲染后的 HTML。

响应字段

参数类型描述
content_mdstringMarkdown 格式的回答正文。
content_rawstring原始回答内容。
promptstring原始提示词。
sourcesarray引用来源。
sources.domainstring引用来源的域名。
sources.titlestring引用来源的标题。
sources.favicon_idstring引用来源的 Favicon ID。
sources.snippetstring引用摘要。
sources.urlstring引用来源的 URL。
sources.cited_countint该来源被引用的次数。
sources.indexint引用内容索引。
adsarray推荐广告。
ads.badgestring广告标签,例如 SALE 或 PRICE DROP。
ads.bing_ad_urlstringBing 广告链接。
ads.descriptionstring广告描述。
ads.imgstring广告图片。
ads.orig_pricestring原价。
ads.pricestring现价。
ads.promotionstring商家促销详情,例如 $19.99 sale; Expires in 2 days。
ads.ratingstring评分(满分 5 分)。
ads.review_countstring评论数量。
ads.sellerstring零售商,例如 Amazon.com。
ads.titlestring广告标题。
ads.urlstring广告目标链接。
htmlstring通过 should_fetch_html 请求的渲染后 HTML。