Learn R Programming

tuber (version 0.2)

get_captions: Get Captions of a Video

Description

Get Captions of a Video

Usage

get_captions(video_id = NULL, lang = "en")

Arguments

video_id
id of the video; required; no default
lang
language of the caption; required; default is english ("en")

Value

  • captions for the video from one of the first track

References

https://console.developers.google.com/project

Examples

Run this code
get_captions(video_id="yJXTXN4xrI8")

Run the code above in your browser using DataLab