Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Latest commit

 

History

History
67 lines (48 loc) · 1.25 KB

readme.md

File metadata and controls

67 lines (48 loc) · 1.25 KB

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