1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-09 01:35:18 +00:00

Add compat-option no-clean-infojson

This commit is contained in:
pukkandan
2021-07-31 11:38:39 +05:30
parent e0f2b4b47d
commit e4f0275711
4 changed files with 8 additions and 5 deletions

View File

@@ -1062,7 +1062,7 @@ def parseOpts(overrideArguments=None):
help='Do not write playlist metadata when using --write-info-json, --write-description etc.')
filesystem.add_option(
'--clean-infojson',
action='store_true', dest='clean_infojson', default=True,
action='store_true', dest='clean_infojson', default=None,
help=(
'Remove some private fields such as filenames from the infojson. '
'Note that it could still contain some personal information (default)'))