Skip to content

Commit

Permalink
[ie/ArteTV] Fix HLS formats extraction
Browse files Browse the repository at this point in the history
Closes #8156
Authored by: bashonly
  • Loading branch information
bashonly committed Sep 23, 2023
1 parent c1d71d0 commit c2da0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/arte.py
Expand Up @@ -169,7 +169,7 @@ def _real_extract(self, url):
)))

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:
Expand Down

0 comments on commit c2da0b5

Please sign in to comment.