Closed KEM-Spain closed 3 months ago
Same error here (even before choosing a file to dl), using last version (6.2) in CLI (macOS and debian).
Yeah. The site has messed things up. Fails from Kodi as well.
On Sun, Jan 21, 2024 at 2:43 PM Qntn @.***> wrote:
Same error here (even before choosing a file to dl), using last version (6.2) in CLI (macOS and debian).
— Reply to this email directly, view it on GitHub https://github.com/emericg/OpenSubtitlesDownload/issues/104#issuecomment-1902633832, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5YHVDEILX2XMRQ7YIR5B33YPULR5AVCNFSM6AAAAABBQQYSGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSGYZTGOBTGI . You are receiving this because you authored the thread.Message ID: @.***>
Urllib error ( 400 ) Bad Request
That's weird, do you have this error every time you use the script? I've never had this one, while testing on linux and macOS. Anything particular in your setups that could explain why it's behaving differently? VPN, weird Internet setup?
Yeah. The site has messed things up. Fails from Kodi as well.
Kodi is still using the "old" API so it will only work if you have a VIP account.
Nothing unorthodox. No intermediate apps or hardware. Python is up to date on Ubuntu 23.10. Used to work flawlessly. Cloudflare?
On Mon, Jan 22, 2024 at 4:30 PM Emeric @.***> wrote:
Urllib error ( 400 ) Bad Request
That's weird, do you have this error every time you use the script? I've never had this one, while testing on linux and macOS. Anything particular in your setups that could explain why it's behaving differently? VPN, weird Internet setup?
Yeah. The site has messed things up. Fails from Kodi as well.
Kodi is still using the "old" API so it will only work if you have a VIP account.
— Reply to this email directly, view it on GitHub https://github.com/emericg/OpenSubtitlesDownload/issues/104#issuecomment-1904249112, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5YHVDBJK3JC2EFWKQ73RC3YP2AZFAVCNFSM6AAAAABBQQYSGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUGI2DSMJRGI . You are receiving this because you authored the thread.Message ID: @.***>
Tried from my laptop (macOS) or my server (debian), different locations, with or without custom dns, same error. VLC extension (VLSub) is working.
Same error, after choosing subtitles. Debian oldstable.
Same error, too.
Ubuntu 22.04.3 Python 3.10.12 urllib3 1.26.14
EDIT: And, BTW, it happens with this similar project, too.
Same error, it seems it happens when trying to login via https://api.opensubtitles.com/api/v1/login
The data that is being sent (username and pass) seem to be correct, they are wrapped in b'{"username:"my_username", "password": "my_password"}'
Not sure if that is expected, i dont have any chars that seem like invalid in json, just alphanumeric with some !*
Arch linux (approximately current) python 3.11.6 urllib3 1.26.18
Looks like for me i was able to debug it .. the issue was, that i was using my email as username. When i changed that to actual username, it worked.
Hope it helps
Looks like for me i was able to debug it .. the issue was, that i was using my email as username.
Yes it seems you are right, an invalid username/password causes that error. The GUI will output "login error" but the CLI will just output "Urllib error ( 400 ) Bad Request". I'll see if I can make the error message more helpful...
Looks like for me i was able to debug it .. the issue was, that i was using my email as username. When i changed that to actual username, it worked.
Hope it helps
That was it! Working fine now, thanks!
@emericg and thanks for your work
Works for me as well! Thanks 🙏
On Sun, Feb 11, 2024 at 9:57 PM Qntn @.***> wrote:
Looks like for me i was able to debug it .. the issue was, that i was using my email as username. When i changed that to actual username, it worked.
Hope it helps
That was it! Working fine now, thanks!
@emericg https://github.com/emericg and thanks for your work
— Reply to this email directly, view it on GitHub https://github.com/emericg/OpenSubtitlesDownload/issues/104#issuecomment-1937867445, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5YHVDFADLJWXYZJDJ5PNWDYTEWEDAVCNFSM6AAAAABBQQYSGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXHA3DONBUGU . You are receiving this because you authored the thread.Message ID: @.***>
Using: OpenSubtitlesDownload.py / Version 6.0
After selecting a file to download the error occurs.