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

Closes #8973
Authored by: johnvictorfs
pull/9051/head
John Victor 2024-01-21 19:36:59 -03:00 zatwierdzone przez GitHub
rodzic c099ec9392
commit f0e8bc7c60
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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