A simple shell script that downloads subtitles from opensubtitles.org. See the following page for more information: https://forum.opensubtitles.org/viewtopic.php?f=8&t=16453#p39771
subdl [OPTION] [query]
-e episode Episode number of a TV show.
-s season Season number of a TV show.
-i IMDBid IMDB movie title ID. You can get it from IMDB movie page
(i.e. https://www.imdb.com/title/tt#######).
-l language Three letter language code. Multiple languages can be
combined with comma (e.g. -l eng,tur).
-n First result is downloaded without any prompts
subdl -s 6 -e 4 game of thrones
subdl -n -l eng ./game.of.thrones.s08e00.the.last.watch.web.h264-memento\[ettv\].mkv
- POSIX shell
- jq
- curl
- gzip
cp subdl /usr/local/bin
chmod +x /usr/local/bin/subdl