Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 887 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 887 Bytes

subtitles-downloader

Download subtitles from OpenSubtitles.org.

This library uses javascript generators. When using node 0.11.x or greater, you must use the --harmony-generators flag or just --harmony to get access to generators.

Installation

npm install subtitles-downloader -g

cli usage

Usage: subtitles-downloader [options]

Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -f, --file <path>    File path or glob
    -l, --langs <langs>  Languages
    -m, --mix            Mix two subtitles into one

Examples

subtitles-downloader -f movie.mkv -l spa,eng,ru --mix
subtitles-downloader -f "movies/*.mkv" -l spa,eng

Debug

DEBUG=* subtitles-downloader -f movie.mkv -l spa,eng
DEBUG=subtitles-downloader subtitles-downloader -f movie.mkv -l spa,eng