mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-30 03:58:24 +01:00
[ruutu] extract dash formats
This commit is contained in:
parent
4719419951
commit
dadb836139
@ -81,6 +81,9 @@ class RuutuIE(InfoExtractor):
|
|||||||
elif ext == 'f4m':
|
elif ext == 'f4m':
|
||||||
formats.extend(self._extract_f4m_formats(
|
formats.extend(self._extract_f4m_formats(
|
||||||
video_url, video_id, f4m_id='hds', fatal=False))
|
video_url, video_id, f4m_id='hds', fatal=False))
|
||||||
|
elif ext == 'mpd':
|
||||||
|
formats.extend(self._extract_mpd_formats(
|
||||||
|
video_url, video_id, mpd_id='dash', fatal=False))
|
||||||
else:
|
else:
|
||||||
proto = compat_urllib_parse_urlparse(video_url).scheme
|
proto = compat_urllib_parse_urlparse(video_url).scheme
|
||||||
if not child.tag.startswith('HTTP') and proto != 'rtmp':
|
if not child.tag.startswith('HTTP') and proto != 'rtmp':
|
||||||
|
Loading…
Reference in New Issue
Block a user