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.
2-way auth to google #1336
2-way auth to google #1336
Comments
|
Currently it just uses your email and password, so if you have 2-way auth enabled i don't think it will work. |
|
I didn't receive any verification code. $ youtube-dl -u email@mydomain :ytsubs
Type account password and press return:
[youtube:subscriptions] Logging in
WARNING: unable to log in: bad username or password |
|
I created new google account just now, and tried it, also unable to log in. Maybe I do something wrong? |
|
I can login with my account without problems and I don't think using an account with custom domain should be a problem. |
|
I tried one more time just now - custom domain and gmail w/o 2-way auth - ok. |
|
It might be preferable and easier to implement application-specific password support, so that users can create a password specifically for youtube-dl to use rather than their main Google password. The main benefits: |
|
yes, yes, app specific password :) ping? |
|
I'm using two-factor auth on my google/youtube account, but don't have a phone number set up (no verifications sent to mobile). I do have the google authenticator app paired with my account, and can generate app-specific passwords, but neither of these options seem to be supported by yt-dl. Because of this, I'm unable to use |
|
i'm coming from #2542 . |
|
google killed today RSS, making this mater even more urgent. source http://arstechnica.com/gadgets/2014/05/youtube-shuts-down-public-rss-feeds-of-user-subscriptions/ |
|
Google 2FA seems to be working now. I don't know how long this has been the case but someone might want to close this issue. |
|
Since #3534 TOTP (using the Google Authenticator app or equivalent) is supported via --twofactor. I don't use other 2FA code generation approaches. Maybe others can have a check? |
|
Using 2FA with TOTP on my Google acount results in a 500 error (using youtube-dl 2017.06.25):
After entering my password, my Android Phone asks "are you trying to log in to your Google account?" - I've tried various combinations of saying Yes and ignoring the prompt and entering the TOTP code into the terminal but all result in the 500 error. So, I don't think this is working... |
I just tried a Youtube RED video I have access to, and the login using the official way always fails - passing an app-specific password also fails, but somehow on the message that the password isn't valid. are you sure they collect the way using Google Authenticator? The default is the Yubikey and among the list of various phone and mobile numbers Google Authenticator is just one of many options. |
|
I'm in the exact situation as mholt above, except my error is "400: Bad Request". The video(s) are not DRM-protected or anything special. I get the prompt on my Android phone, etc., and enter the 2FA code, but no matter what I do, it always errors out with that 400 error. It seems like the Google Authenticator 2FA code is not being properly submitted somehow. Is there any movement on this issue? |
|
Have the exact problem.
|
Does youtube-dl work with 2-way authentication to google, or application-specific passwords?
I tried both account password and app-specific generated password, 'unable to log in'