mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Option to keep private keys in the infojson
Options: --clean-infojson, --no-clean-infojson Related: https://github.com/yt-dlp/yt-dlp/issues/42#issuecomment-800778391
This commit is contained in:
		| @@ -985,6 +985,16 @@ 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, | ||||
|         help=( | ||||
|             'Remove some private fields such as filenames from the infojson. ' | ||||
|             'Note that it could still contain some personal information (default)')) | ||||
|     filesystem.add_option( | ||||
|         '--no-clean-infojson', | ||||
|         action='store_false', dest='clean_infojson', | ||||
|         help='Write all fields to the infojson') | ||||
|     filesystem.add_option( | ||||
|         '--get-comments', | ||||
|         action='store_true', dest='getcomments', default=False, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan