- Git clone the repo and cd. This Guide assumes you've cloned at $HOME, Change the alias location accordingly
- Install youtube-dl
sudo apt-get install youtube-dl
- Install required libraries
pip3 install -r requirements.txt
-
Add
alias getsub='python3 ~/Youtube-Sub-ByTitle/getSubtitle.py'
to ~/.bashrc. -
Go to the location containg the Video or Audio file.
-
Append Subtitle using
getsub <Title> [<Artist>,<Additional Parameters>]
.3.1 Example:
getsub 'Fall Eminem'