[ie/ArteTV] Fix HLS formats extraction

Closes #8156
Authored by: bashonly
This commit is contained in:
bashonly 2023-09-23 14:54:00 -05:00
parent c1d71d0d9f
commit c2da0b5ea2
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class ArteTVIE(ArteTVBaseIE):
)))
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(
stream['url'], video_id=video_id, ext='mp4', m3u8_id=stream_version_code, fatal=False)
for fmt in fmts: