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.
Cannot download private YT videos on brand new accounts or accounts with 2FA #3533
Comments
|
Was browsing around developers.google.com and found the deprecated ClientLogin interface - I think this might be what takes the app passwords. https://developers.google.com/accounts/docs/AuthForInstalledApps |
Logging in does not allow you to download private Youtube videos as an account with 2-Factor Auth enabled.
Attempt 1. Created a new google account, shared the video with it.
Note that this by itself is problematic - it says that we successfully signed in, but the video is private?! A better error message would be nice.
Attempt 2. Enabled "access for less secure apps".
This seems to work.
Attempt 3. Enabled 2FA.
Google Authenticator shared secret:
xha7 ryxa d6ah dk6t wxw5 5mq3 cxxj 2f25Attempt 4. Using application-specific password, generated as "Youtube on my Windows Computer"
plwwtjwpaedjxurzAt this point, "Access for less secure apps" is not available.
Acceptable solutions include (not limited to) having youtube-dl ask for a 2FA code or an application-specific password. However, it seems they clearly expect a different login path for the app-specific passwords.
Also an issue is that it doesn't work for brand-new accounts, either.
I'm not quite sure what Google is expecting the app to do, but it's clearly something different.
Please refrain from using this test account for anything other than trying to download the private video named above. Also please refrain from calling my phone number.
I can add more accounts to the permitted list on request. The video is just a short clip of a text editor containing the account's password.