aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Victor <37747572+johnvictorfs@users.noreply.github.com>2024-01-21 19:36:59 -0300
committerGitHub <noreply@github.com>2024-01-21 22:36:59 +0000
commitf0e8bc7c60b61fe18b63116c975609d76b904771 (patch)
treea0c944b1778a34006cabbbd8da894fa21c4a0e91
parentc099ec9392b0283dde34b290d1a04158ad8eb882 (diff)
[ie/patreon] Fix embedded HLS extraction (#8993)
Closes #8973 Authored by: johnvictorfs
-rw-r--r--yt_dlp/extractor/patreon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/patreon.py b/yt_dlp/extractor/patreon.py
index 9316789df..d2ddb72cd 100644
--- a/yt_dlp/extractor/patreon.py
+++ b/yt_dlp/extractor/patreon.py
@@ -275,7 +275,7 @@ class PatreonIE(PatreonBaseIE):
'ext': ext,
'url': post_file['url'],
}
- elif name == 'video':
+ elif name == 'video' or determine_ext(post_file.get('url')) == 'm3u8':
formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
return {
**info,