1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:12:53 +08:00

Hide the video password on verbose mode

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-23 16:32:17 +02:00
parent 93b22c7828
commit 3126050c0f

View File

@ -133,7 +133,7 @@ def parseOpts(overrideArguments=None):
def _hide_login_info(opts):
opts = list(opts)
for private_opt in ['-p', '--password', '-u', '--username']:
for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
try:
i = opts.index(private_opt)
opts[i+1] = '<PRIVATE>'