mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
Hide the video password on verbose mode
This commit is contained in:
parent
93b22c7828
commit
3126050c0f
1 changed files with 1 additions and 1 deletions
|
@ -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>'
|
||||
|
|
Loading…
Reference in a new issue