ytstd

1.0.11 • Public • Published

ytstd - YouTube subtitles downloader

Download YouTube video subtitles in SRT format

Example Usage

$ 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...

Installation

npm install --global ytstd

Usage

$ 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

Help

$ 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

Friends

Package Sidebar

Install

npm i ytstd

Weekly Downloads

3

Version

1.0.11

License

UNLICENSED

Unpacked Size

6.92 kB

Total Files

10

Last publish

Collaborators

  • episage