R/scraping.R
download_subtitles.Rd
Download subtitles from a youtube video
download_subtitles(video_id, out_dir, yt_dlp_path = "yt-dlp", force_dl = FALSE)
video id
directory to save file
path to yt_dlp
overide existed vtt file