Download YouTube video subtitles in SRT format
$ ytstd list-languages W1Re3QxRDuY
en
ko
$ ytstd download-subtitles W1Re3QxRDuY en
1
00:00:14,075 --> 00:00:19,094
Iām worried we might grow apart.
2
00:00:19,094 --> 00:00:29,045
3
00:00:29,045 --> 00:00:30,042
Hello, everyone.
...snip...
npm install --global ytstd
$ ytstd help list-languages
Usage: ytstd list-languages [options] <video-id>
list available subtitle languages
$ ytstd help download-subtitles
Usage: ytstd download-subtitles [options] <video-id> <language-code>
downloads subtitles for given 2-letter language code and output SRT
$ ytstd help
Usage: cli [options] [command]
Options:
-h, --help display help for command
Commands:
list-languages <video-id> list available subtitle languages
download-subtitles <video-id> <language-code> downloads subtitles for given 2-letter language code and output SRT
help [command] display help for command