logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: dadb836139f070da9364439bf3b148eec8bc0b11
parent 4719419951ced20e42cddb26b437908ba636debb
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 30 Jan 2017 09:32:31 +0100

[ruutu] extract dash formats

Diffstat:

Myoutube_dl/extractor/ruutu.py3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/ruutu.py b/youtube_dl/extractor/ruutu.py @@ -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':