mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-24 16:51:36 +00:00
[ruutu] extract dash formats
This commit is contained in:
parent
4719419951
commit
dadb836139
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue