aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-01-30 09:32:31 +0100
committerRemita Amine <remitamine@gmail.com>2017-01-30 09:32:31 +0100
commitdadb836139f070da9364439bf3b148eec8bc0b11 (patch)
tree0ad79705b77125cd07354a26477d2ca65dadbad1
parent4719419951ced20e42cddb26b437908ba636debb (diff)
[ruutu] extract dash formats
-rw-r--r--youtube_dl/extractor/ruutu.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ruutu.py b/youtube_dl/extractor/ruutu.py
index f12bc5614..20d01754a 100644
--- 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':