From f0e8bc7c60b61fe18b63116c975609d76b904771 Mon Sep 17 00:00:00 2001 From: John Victor <37747572+johnvictorfs@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:36:59 -0300 Subject: [PATCH] [ie/patreon] Fix embedded HLS extraction (#8993) Closes #8973 Authored by: johnvictorfs --- yt_dlp/extractor/patreon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): '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,