emericg / OpenSubtitlesDownload

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

Opensubtitles login not working in CLI #93

Closed bjuncek closed 9 months ago

bjuncek commented 1 year ago

I have a headless nas where I want to download the subtitles for videos I have on there. Running the script with edited username/pass and/or --username and --password arguments still produces the 401 error.

JayKuswahey commented 1 year ago

@bjuncek can you make absolutely sure there's no "weird" characters (things like ' or ~ or backticks) in the username or password that can brick the quotation of the script/command?

Do you keep them quoted when you put them in the script?

Can you change your password on opensubtitles website to something with only lowercase letters and test that?

I can't add anything beyond "it works" on my machine, lowercase letter, uppercase letters, digits, - and @ in it.

Lippiece commented 1 year ago

I have the same problem. I've tried setting the variables in the binary and passing the credentials through cli, also tried both username and email.

Note that it started when I changed my password, now the previous and the current passwords don't work.

However, the same credentials work fine on opensubtitles.org, and it's been more than 24 hours since the change.

emericg commented 9 months ago

This issue needs to be run again with the very latest version of this script, that's running with a new provider (opensubtitles.COM) and new accounts. If you still have troubles logging in, feel free to reopen this issue.