Has anybody found a working solution for v2?
I'm using a python wrapper and receiving HTTP Error 401: Unauthorized
The script is some years old now but has worked fine up until recently.
TIA
V2 Python 401
Forum rules
This forum is now read-only. Support for TheTVDB.com is now available at https://support.thetvdb.com/
This forum is now read-only. Support for TheTVDB.com is now available at https://support.thetvdb.com/
Is your script asking for the token using API Key, Username & Password? Have you tried with only your API Key when requesting the token?
Code: Select all
{
"apikey": "string"
}
Always just needed the API Key
Now is always returning;
"tvdb_exceptions.tvdb_error: Could not connect to server: HTTP Error 401: Unauthorized"
https://pastebin.com/iGuZQCTx
Here is my python script
Now is always returning;
"tvdb_exceptions.tvdb_error: Could not connect to server: HTTP Error 401: Unauthorized"
https://pastebin.com/iGuZQCTx
Here is my python script
Wow, man.. that is a lot of code! Can you narrow it down to your login Post? I see you are using "urllib", however, "requests" is a lot simpler to use. That is just my 2 cents but to each their own.
I don't know what about now, but I'm working with Python 3.6.5. And I can code for 12 hours with realizing how time passes, without food. Man, this ain't good!