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

Do not use HTML characters in output

This messes up the format when people paste it outside of code tags.
This commit is contained in:
Philipp Hagemeister 2014-09-29 00:23:41 +02:00
parent 5f4c318844
commit d2e32f7df5

View File

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