0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[ie/patreon] Fix embedded HLS extraction (#8993)

Closes #8973
Authored by: johnvictorfs
This commit is contained in:
John Victor 2024-01-21 19:36:59 -03:00 committed by GitHub
parent c099ec9392
commit f0e8bc7c60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,