diff options
author | bashonly <bashonly@bashonly.com> | 2023-09-23 14:54:00 -0500 |
---|---|---|
committer | bashonly <bashonly@bashonly.com> | 2023-09-23 14:54:00 -0500 |
commit | c2da0b5ea215298135f76e3dc14b972a3c4afacb (patch) | |
tree | 0589d679ce4a75fc1751b2d22bc702c68e2e81b6 | |
parent | c1d71d0d9f41db5e4306c86af232f5f6220a130b (diff) |
[ie/ArteTV] Fix HLS formats extraction
Closes #8156
Authored by: bashonly
-rw-r--r-- | yt_dlp/extractor/arte.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/arte.py b/yt_dlp/extractor/arte.py index e3cc5afb0..a19cd2a3a 100644 --- a/yt_dlp/extractor/arte.py +++ b/yt_dlp/extractor/arte.py @@ -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: |