Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to log in: HTTP Error 400: Bad Request (YouTube) #23449
Comments
|
I got the same error. |
Checklist
Verbose log
Description
Youtube-dl has been working fine for quite a long time, but about a week or so ago began failing to log in, with the message "Warning: Unable to login: Invalid password". None of the open or closed issues helped address this, and I jumped through a bunch of hoops trying to resolve that error. But after clearing my browser cookies, removing all accounts from google but the one I'm trying to use, and saving those cookies to a file, I'm getting a different error... nor sure if that's progress or not :|
The documentation says that a 400 BAD REQUEST usually means a corrupt cookie file. But deleting the cookie file and allowing ytdl to recreate it gives me the same response - 400 BAD REQUEST. I've I've gone over the cookie file I'm trying to use, and everything looks fine, anyway. I've made sure the user agent string for ytdl matches the user agent string for my browser, and I've tried using the default user agent string in ytdl.
Logging in through my browser works perfectly fine. YTDL works perfectly fine to d/l individual videos that don't need me to supply a username/pw. But trying to d/l any video or playlist using my username and pw gives me a 400 BAD REQUEST on the login.
What else can I try/where do I go next? I'd love to see the request that's being sent, but I don't see anywhere ytdl supports dumping that.
.