-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login to youtube not working #21313
Comments
Nice that you closed this... but a duplicate to what issue? What I found with this error is that youtube-dl needed to be fixed in the past... Thanx! |
@dstftw Could you please provide a link how to solve this...? The duplicate tag doesn't help as other issues from the past with this error do not provide a solution... :-( |
This is for people that run into this issue too: What I've done is install the cookies plugin in chrome: Then go to https://youtube.com, login and press that cookie plugin button to save a cookies.txt I merged those 2 text files into one YT-cookies.txt file and then addes the following parameter to youtube-dl: --cookies=YT-cookies.txt of course you can prefix the txt file with the path. ...then login works again. :-) at least, for me... Shouldn't this be in the FAQ for youtube-dl? |
@MatrixView, thanks for your last comment. I followed your instructions and am again able to log into my Youtube account. Appreciate it! |
@hub2git Thanx for your appreciation, glad to have helped someone with this. What seems to be even better is that youtube-dl automatically updates the given cookie file, so it doesn't seem to expire. I found out because I had the cookie file open in Notepad++ and it reports changes once I run my script (containing the youtube-dl line with the cookie parameter) I understand it is frustrating for the admins of this project to support youtube-dl and so many sites, google authentication, etc... while users keep asking the same questions regularly, but sometimes you just don't know how to solve an error and any past reported issue that comes remotely close doesn't have a workaround either or got solved by a fix/update to the program itself. I really love Youtube-DL, I use it almost as much as PowerShell and Xidel. It's invaluable in any webscraping/downloading toolbox. |
I tried the steps outline by @MatrixView after already attempting the same in Firefox. I still get the 400: Bad Request
|
Verbose log
Description
Hi guys,
Since yesterday evening, about 12-15 hrs ago, I get: "Unable to log in HTTP Error 400: Bad Request". I've logged in with the same credentials in a browser and that works just fine.
Hopefully you can fix this... or tell me what I'm doing wrong... [although I've been using the same commandline with those params (minus the verbose) for years successfully]
Thanx!
The text was updated successfully, but these errors were encountered: