From 0eb21dcea3de118a79c6cde1fe2e14e32f7f9839 Mon Sep 17 00:00:00 2001 From: Daniel Vogt Date: Wed, 21 Oct 2020 20:47:24 +0200 Subject: [PATCH] [opencast] formatting code --- youtube_dl/extractor/opencast.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(':')