diff --git a/youtube_dl/extractor/opencast.py b/youtube_dl/extractor/opencast.py index 5252d1cea..3df53d204 100644 --- a/youtube_dl/extractor/opencast.py +++ b/youtube_dl/extractor/opencast.py @@ -58,9 +58,7 @@ class OpencastBaseIE(InfoExtractor): formats.extend(self._extract_mpd_formats(href, video_id, mpd_id='dash', fatal=False)) elif transport == 'HLS' or ext == 'm3u8': formats.extend( - self._extract_m3u8_formats( - href, video_id, m3u8_id='hls', entry_protocol='m3u8_native', fatal=False - ) + self._extract_m3u8_formats(href, video_id, m3u8_id='hls', entry_protocol='m3u8_native', fatal=False) ) elif transport == 'HDS' or ext == 'f4m': formats.extend(self._extract_f4m_formats(href, video_id, f4m_id='hds', fatal=False)) @@ -80,7 +78,7 @@ class OpencastBaseIE(InfoExtractor): 'app': m_obj.group('app'), 'play_path': m_obj.group('playpath'), 'rtmp_live': True, - 'preference': -2 + 'preference': -2, } ) extention = m_obj.group('playpath').split(':')