1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 00:02:57 +08:00

[ruutu] extract dash formats

This commit is contained in:
Remita Amine 2017-01-30 09:32:31 +01:00
parent 4719419951
commit dadb836139

View File

@ -81,6 +81,9 @@ class RuutuIE(InfoExtractor):
elif ext == 'f4m':
formats.extend(self._extract_f4m_formats(
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:
proto = compat_urllib_parse_urlparse(video_url).scheme
if not child.tag.startswith('HTTP') and proto != 'rtmp':