aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2025-02-10 17:08:10 -0600
committerGitHub <noreply@github.com>2025-02-10 23:08:10 +0000
commitc987be0acb6872c6561f28aa28171e803393d851 (patch)
treed72a46068326c28f52f6eefd77b962e86a96fe72 /yt_dlp/extractor/common.py
parent14cd7f3443c6da4d49edaefcc12da9dee86e243e (diff)
[fd/hls] Support `hls_media_playlist_data` format field (#12322)
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 92ddad2b7..3e7734ce1 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -201,6 +201,11 @@ class InfoExtractor:
fragment_base_url
* "duration" (optional, int or float)
* "filesize" (optional, int)
+ * hls_media_playlist_data
+ The M3U8 media playlist data as a string.
+ Only use if the data must be modified during extraction and
+ the native HLS downloader should bypass requesting the URL.
+ Does not apply if ffmpeg is used as external downloader
* is_from_start Is a live format that can be downloaded
from the start. Boolean
* preference Order number of this format. If this field is