Hide the video password on verbose mode
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 23 Oct 2013 14:32:17 +0000 (16:32 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 23 Oct 2013 14:32:17 +0000 (16:32 +0200)
youtube_dl/__init__.py

index fce1adf0cffbf527841dfada34b931d93f67fd5a..c141dcdda4a65cfee29df3a52bcbd6a4ca3604d1 100644 (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>'