[ie/patreon] Fix m3u8 formats extraction

Authored by: bashonly
This commit is contained in:
bashonly 2025-05-22 10:14:22 -05:00
parent 415b4c9f95
commit e4ec8d95be
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -379,7 +379,8 @@ class PatreonIE(PatreonBaseIE):
'url': post_file['url'],
})
elif name == 'video' or determine_ext(post_file.get('url')) == 'm3u8':
formats, subtitles = self._extract_m3u8_formats_and_subtitles(post_file['url'], video_id)
formats, subtitles = self._extract_m3u8_formats_and_subtitles(
post_file['url'], video_id, headers=headers)
entries.append({
'id': video_id,
'formats': formats,