如果需要,结果可以分成多个部分:
-
通过指定
batch_size和part=1来下载第一部分。 - 使用 此端点 检查已创建的部分数量。
-
通过更改
part参数下载剩余部分。(batch_size、format和compress在每次调用时必须保持不变)
Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
Get API Key from: https://brightdata.com/cp/setting/users.
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Path Parameters
The ID that was returned when the collection was triggered
Example:
"s_m4x7enmven8djfqak"
Query Parameters
Format of the data to be received
Available options:
json, ndjson, jsonl, csv Whether the result should be compressed or not
Divide into batches of X records
Required range:
x >= 1000If batch_size was provided, specify which part to download
Response
200 - application/json
OK
Data in the desired format