Improve --clean-infojson

It should not removes fields that may be needed for `--load-infojson`.
Eg: `_ffmpeg_args`, `_has_drm`
This commit is contained in:
pukkandan 2022-04-27 21:52:57 +05:30
parent 4877f9055c
commit 0a5a191a2a
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
7 changed files with 21 additions and 15 deletions

View file

@ -208,8 +208,10 @@ class InfoExtractor:
* no_resume The server does not support resuming the
(HTTP or RTMP) download. Boolean.
* has_drm The format has DRM and cannot be downloaded. Boolean
* downloader_options A dictionary of downloader options as
described in FileDownloader (For internal use only)
* downloader_options A dictionary of downloader options
(For internal use only)
* http_chunk_size Chunk size for HTTP downloads
* ffmpeg_args Extra arguments for ffmpeg downloader
RTMP formats can also have the additional fields: page_url,
app, play_path, tc_url, flash_version, rtmp_live, rtmp_conn,
rtmp_protocol, rtmp_real_time