aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-27 21:52:57 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-28 20:04:40 +0530
commit0a5a191a2a33e3b305aaf684576b7129ba5173a0 (patch)
tree5d09a835fa5c14f341b33db4fd4bd420b16f3807 /yt_dlp/extractor/common.py
parent4877f9055c68e5da7d91b03bfb384de79440dc89 (diff)
downloadhypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.tar.lz
hypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.tar.xz
hypervideo-pre-0a5a191a2a33e3b305aaf684576b7129ba5173a0.zip
Improve `--clean-infojson`
It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 8c2fd7fea..63f7b5d4a 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -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