Bright Data Get Scraper Details

0积分/次
ae_brightdata_get_scraper_details

查看 Bright Data 某个采集方法的说明,以便在运行前确认输入要求和主要输出内容。必须提供两个参数:search_scrapers 返回的 dataset_id,以及从该采集器 collection_methods 列表原样复制的 method;即使方法名看似存在拼写错误,也须保持一致。返回采集器说明、输入字段、示例输入和主要输出字段。调用 run_scraper 前,应依据 sample_input 或 input_fields 构造输入。实际采集记录可能包含 output_fields 未列出的其他字段。

效率工具
0积分/次

价格说明

0积分/次
条件费用
每次调用0积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
methodstring是One of the scraper collection_methods, exactly as listed (some names are misspelled on purpose)—
dataset_idstring是dataset_id from search_scrapers—

调用示例

复制请求代码,查看对应的返回示例。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_brightdata_get_scraper_details' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "dataset_id": "gd_le8e811kzy4ggddlq",
    "method": "collect_by_url"
  }
}'
返回示例response.json
JSON部分内容
{
  "dataset_id": "gd_le8e811kzy4ggddlq",
  "description": null,
  "domain": "amazon.com",
  "input_fields": [
    {
      "name": "url",
      "required": true,
      "type": "url"
    }
  ],
  "method": "collect_by_url",
  "name": "Amazon Reviews"
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。