From: Jaime Marquínez Ferrándiz Date: Wed, 23 Oct 2013 14:32:17 +0000 (+0200) Subject: Hide the video password on verbose mode X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3126050c0fe204dfb2669f794097648b9c9fa8c8;p=youtube-dl Hide the video password on verbose mode --- diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index fce1adf0c..c141dcdda 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -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] = ''