Русская версия: Link
A small script that allows you to download an audio translation from Yandex via the terminal.
vot-cli [options] [args] <link> [link2] [link3] ...
— general examplevot-cli <link>
— get the audio translation from the linkvot-cli --help
— show help by commandsvot-cli --version
— show script versionvot-cli --output=<path> <link>
— get the audio translation from the link and save it to the specified pathvot-cli --output=<path> --reslang=en <link>
— get the audio translation into English and save it in the specified pathvot-cli --subs --output=<path> --lang=en <link>
— get English subtitles for the video and save them in the specified pathvot-cli --output="." "https://www.youtube.com/watch?v=X98VPQCE_WI" "https://www.youtube.com/watch?v=djr8j-4fS3A&t=900s"
- example with real data
--output
— set the path to save the audio translation file--output-file
— set the file name to download (requires specifying a dir to download in "--output" argument)--lang
— set the source video language (look wiki, to find out which languages are supported)--reslang
— set the language of the received audio file (look wiki, to find out which languages are supported)--proxy
— set HTTP or HTTPS proxy in the format[<PROTOCOL>://]<USERNAME>:<PASSWORD>@<HOST>[:<port>]
-h
,--help
— Show help-v
,--version
— Show script version--subs
,--subtitles
— Get video subtitles instead of audio (the subtitle language for saving is taken from--reslang
)--subs-srt
,--subtitles-srt
— Get video subtitles in.srt
format instead of audio
- Install NodeJS 18+
- Install vot-cli globally:
npm install -g vot-cli
- Install NodeJS 18+
- Download and unpack the archive from vot-cli
- Install dependencies:
npm i
- After successful installation of the modules, run the command
npm link
- That's it, now you can use vot-cli in your terminal
- Browser version: Link
- Script for downloading videos with built-in translation (add-on over vot-cli):
OS Shell Author Link Windows PowerShell Dragoy Link Unix Fish Musickiller Link Linux Bash s-n-alexeyev Ссылка
- Wrap links in quotation marks in order to avoid errors
- To write to the system partition (for example, to "Disk C" in Windows), administrator rights are required