媒体数据 API
Bright Data 媒体数据 API 的输入字段参考。从 YouTube、Vimeo、TikTok 和 Bilibili 下载视频、音频、字幕、缩略图和故事板。
输入字段
请求主体是一个 JSON 数组。数组中的每个对象都是一个单独的下载任务。captions 为 true 时适用。360、480、720、1080、1440、2160360、480、720、1080、1440、2160{{datetime}}、{{video_id}}、{{job}}。示例: "my-videos/{{video_id}}/{{datetime}}"<filename>.mp4、<filename>.metadata.json、<filename>.sub.0)。支持模板变量:{{datetime}}、{{video_id}}、{{job}}。示例: "{{video_id}}_{{datetime}}"授权
Your Bright Data API key. Find it in the Bright Data Control Panel.
查询参数
Your Media Extraction collector ID. This is a fixed value assigned when the feature is enabled on your account.
"YOUR_COLLECTOR_ID"
请求体
A JSON array of extraction job objects. Each object represents one media extraction job. Multiple jobs can be submitted in a single request.
1The full URL of the video to download. Supported platforms: YouTube, Vimeo, TikTok, Bilibili.
"https://www.video-page-example.com/v=89438398439"
Specifies what content type to download.
full, video_only, audio_only, all_audio_tracks, all_audio_tracks+video, none Whether to download available captions or subtitles for the video.
The file format for downloaded captions. Only applies when captions is true. Supported formats: vtt, srt, json3.
vtt, srt, json3 Minimum accepted video resolution, expressed as a vertical pixel count. The download proceeds only if a resolution at or above this height is available. Common values: 360, 480, 720, 1080, 1440, 2160.
720
Maximum accepted video resolution, expressed as a vertical pixel count. The download proceeds only if a resolution at or below this height is available. Common values: 360, 480, 720, 1080, 1440, 2160.
1440
Whether to include the video's thumbnail image in the results.
Whether to include the video's storyboard images (sprite sheets used for timeline preview scrubbing) in the results.