for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
try:
i = opts.index(private_opt)
- opts[i+1] = '<PRIVATE>'
+ opts[i+1] = 'PRIVATE'
except ValueError:
pass
return opts
help='Try to download the DASH manifest on YouTube videos (experimental)')
authentication.add_option('-u', '--username',
- dest='username', metavar='USERNAME', help='account username')
+ dest='username', metavar='USERNAME', help='login with this account ID')
authentication.add_option('-p', '--password',
dest='password', metavar='PASSWORD', help='account password')
authentication.add_option('-2', '--twofactor',