YouTubeYouTubeSocial

Download a YouTube caption track by caption id

youtube.x.youtube-captions-download

captions.download — Downloads a caption track.

价格
free按供应商原价
成功率
100%近 30 天 · 16 次
延迟 p50
276 毫秒p95 486 毫秒
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/youtube.x.youtube-captions-download预览
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
路径参数
id字符串必填The ID of the caption track to download, required for One Platform.
查询参数
tfmt字符串可选Convert the captions into this format. Supported options are sbv, srt, and vtt.
tlang字符串可选tlang is the language code; machine translate the captions into this language.
onBehalfOf字符串可选ID of the Google+ Page for the channel that the request is be on behalf of
onBehalfOfContentOwner字符串可选*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is inte
  • 路径参数
  • id字符串必填

    The ID of the caption track to download, required for One Platform.

  • 查询参数
  • tfmt字符串可选

    Convert the captions into this format. Supported options are sbv, srt, and vtt.

  • tlang字符串可选

    tlang is the language code; machine translate the captions into this language.

  • onBehalfOf字符串可选

    ID of the Google+ Page for the channel that the request is be on behalf of

  • onBehalfOfContentOwner字符串可选

    *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is inte

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.x.youtube-captions-download' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。