ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.36k stars 9.95k forks source link

Login to Youtube + Google Prompt/Authenticator #15423

Open TarekSalama opened 6 years ago

TarekSalama commented 6 years ago

I know it's possible to download Youtube videos that require you to be logged in by supplying in your email and password however I do have the Google Prompt added as well as an authenticator. Here's what I tried (and failed):

Any ideas?

yan12125 commented 6 years ago

Google Prompt support is not added to youtube-dl yet. Follow https://github.com/rg3/youtube-dl/issues/9857 for updates.

Currently SMS and TOTP are known to work.

TarekSalama commented 6 years ago

@yan12125 So if I'm to use SMS or TOTP (I have my codes generated by 1Password), what do I need to do in order to get it working? As I mentioned earlier, when I turned off Google Prompt the codes didn't work either. Am I missing something?

yan12125 commented 6 years ago

Looks like TOTP is broken, too. It doesn't work for me, either.

chauhansarthakiitd commented 2 years ago

you know I think it's best to fix this by working on OAuth. I luckily have docs on how it works and not to mention the huge GitHub repos source samples on our side. I'll start working on the OAuth or alternatives commit immediately.