A library / CLI to download subtitles for movies and series.
- Install Node.js
- Run
npm install -g subz-hero
subz-hero FILE [FILE]...
For example:
subz-hero Interstellar.mkv
will download subtitles and create a Interstellar.srt file.
Clone this repo, open the scripts directory, and run the script called Add to context menu.reg.
Or if you want to do this manually:
- open regedit.exe
- expand HKEY_CLASSES_ROOT/SystemFileAssociations
- for each video file extension (mkv, avi, mp4, etc.), you need to add a key, as follows:
- go to .mkv
- right click > New > Key, call it
shell - right-click on
shell> New > Key, call itDownload subtitles(that's the label in the context menu) - right-click on
Download subtitles> New > Key, call itcommand - double click on default value and in its data, write:
cmd.exe /c subz-hero "%L"