mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
[opencast] formatting code
This commit is contained in:
parent
8508e6962e
commit
0eb21dcea3
@ -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(':')
|
||||
|
Loading…
Reference in New Issue
Block a user