mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 20:55:52 +01:00
[ie/ArteTV] Fix HLS formats extraction
Closes #8156 Authored by: bashonly
This commit is contained in:
parent
c1d71d0d9f
commit
c2da0b5ea2
@ -169,7 +169,7 @@ def _real_extract(self, url):
|
|||||||
)))
|
)))
|
||||||
|
|
||||||
short_label = traverse_obj(stream_version, 'shortLabel', expected_type=str, default='?')
|
short_label = traverse_obj(stream_version, 'shortLabel', expected_type=str, default='?')
|
||||||
if stream['protocol'].startswith('HLS'):
|
if 'HLS' in stream['protocol']:
|
||||||
fmts, subs = self._extract_m3u8_formats_and_subtitles(
|
fmts, subs = self._extract_m3u8_formats_and_subtitles(
|
||||||
stream['url'], video_id=video_id, ext='mp4', m3u8_id=stream_version_code, fatal=False)
|
stream['url'], video_id=video_id, ext='mp4', m3u8_id=stream_version_code, fatal=False)
|
||||||
for fmt in fmts:
|
for fmt in fmts:
|
||||||
|
Loading…
Reference in New Issue
Block a user