Browse Source

Hide the video password on verbose mode

Jaime Marquínez Ferrándiz 12 years ago
parent
commit
3126050c0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/__init__.py

+ 1 - 1
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] = '<PRIVATE>'