emericg / OpenSubtitlesDownload

Automatically find and download the right subtitles for your favorite videos!
https://emeric.io/OpenSubtitlesDownload
GNU General Public License v3.0
581 stars 63 forks source link

missing options for login #55

Closed ialqwaiz closed 4 years ago

ialqwaiz commented 4 years ago

these is no option for changing the username and password to login to the website.

here is my simple fix if you found it useful

after line 504: parser.add_argument('-u', '--username', help="Set opensubtitles.org username") parser.add_argument('-p', '--password', help="Set opensubtitles.org password")

after line 535: if result.username: if result.password: osd_username = result.username osd_password = result.password

emericg commented 4 years ago

Yes it was on purpose that not every option be mapped to the CLI, but as more and more people seems to be using it, why not.