diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-01 05:18:37 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-01 05:18:37 +0530 |
commit | 62bff2c170a8f12d937d62a2ca74586c5e0eff1f (patch) | |
tree | 0d1508964c33a33cba442b2c39d2998eb3868baf /yt_dlp/YoutubeDL.py | |
parent | f0884c8b3f171f8794a011fd1cb5d53d1185efab (diff) | |
download | hypervideo-pre-62bff2c170a8f12d937d62a2ca74586c5e0eff1f.tar.lz hypervideo-pre-62bff2c170a8f12d937d62a2ca74586c5e0eff1f.tar.xz hypervideo-pre-62bff2c170a8f12d937d62a2ca74586c5e0eff1f.zip |
Add option `--extractor-retries` to retry on known extractor errors
* Currently only used by youtube
Fixes https://github.com/ytdl-org/youtube-dl/issues/28194
Possibly also fixes: https://github.com/ytdl-org/youtube-dl/issues/28289 (can not confirm since the issue isn't reliably reproducible)
Diffstat (limited to 'yt_dlp/YoutubeDL.py')
-rw-r--r-- | yt_dlp/YoutubeDL.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index e9cb7e187..d1f365814 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -381,17 +381,18 @@ class YoutubeDL(object): Use 'default' as the name for arguments to passed to all PP The following options are used by the extractors: - dynamic_mpd: Whether to process dynamic DASH manifests (default: True) + extractor_retries: Number of times to retry for known errors + dynamic_mpd: Whether to process dynamic DASH manifests (default: True) hls_split_discontinuity: Split HLS playlists to different formats at - discontinuities such as ad breaks (default: False) + discontinuities such as ad breaks (default: False) youtube_include_dash_manifest: If True (default), DASH manifests and related - data will be downloaded and processed by extractor. - You can reduce network I/O by disabling it if you don't - care about DASH. (only for youtube) + data will be downloaded and processed by extractor. + You can reduce network I/O by disabling it if you don't + care about DASH. (only for youtube) youtube_include_hls_manifest: If True (default), HLS manifests and related - data will be downloaded and processed by extractor. - You can reduce network I/O by disabling it if you don't - care about HLS. (only for youtube) + data will be downloaded and processed by extractor. + You can reduce network I/O by disabling it if you don't + care about HLS. (only for youtube) """ _NUMERIC_FIELDS = set(( |