A simple Ruby script to pull highest rated subtitle from yifysubtitles.com to your movie directory.
ruby subtitle.rb [IMDB TITLE ID HERE]
You'll first need a IMDB Title ID
For example:
https://www.imdb.com/title/tt1104001/
tt1104001
will be your IMDB Title ID
Running
ruby subtitle.rb tt1104001
will download you the highest rated subtitle from YIFYSubtitle.com