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"
}
}'请求体参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
prompt | string | 是 | 发送给 Bing AI 模式的提示词。 |
country | string | 是 | 国家或地区代码。 |
should_fetch_html | boolean | 否 | 是否返回渲染后的 HTML。 |
响应字段
| 参数 | 类型 | 描述 |
|---|---|---|
content_md | string | Markdown 格式的回答正文。 |
content_raw | string | 原始回答内容。 |
prompt | string | 原始提示词。 |
sources | array | 引用来源。 |
sources.domain | string | 引用来源的域名。 |
sources.title | string | 引用来源的标题。 |
sources.favicon_id | string | 引用来源的 Favicon ID。 |
sources.snippet | string | 引用摘要。 |
sources.url | string | 引用来源的 URL。 |
sources.cited_count | int | 该来源被引用的次数。 |
sources.index | int | 引用内容索引。 |
ads | array | 推荐广告。 |
ads.badge | string | 广告标签,例如 SALE 或 PRICE DROP。 |
ads.bing_ad_url | string | Bing 广告链接。 |
ads.description | string | 广告描述。 |
ads.img | string | 广告图片。 |
ads.orig_price | string | 原价。 |
ads.price | string | 现价。 |
ads.promotion | string | 商家促销详情,例如 $19.99 sale; Expires in 2 days。 |
ads.rating | string | 评分(满分 5 分)。 |
ads.review_count | string | 评论数量。 |
ads.seller | string | 零售商,例如 Amazon.com。 |
ads.title | string | 广告标题。 |
ads.url | string | 广告目标链接。 |
html | string | 通过 should_fetch_html 请求的渲染后 HTML。 |