aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ruutu.py
diff options
context:
space:
mode:
authorHannu Lintala <hannu.lintala@gmail.com>2015-06-06 23:01:23 +0300
committerHannu Lintala <hannu.lintala@gmail.com>2015-06-06 23:01:23 +0300
commitd00735a0c5aabd38b37bfea76a93ae8c47a8d419 (patch)
tree78e8c0bcaf29d6b9e3e68642dbebc695366f837d /youtube_dl/extractor/ruutu.py
parent223544552fcfec0c5c6a83326520c614e4489cbb (diff)
[ruutu] Don't use fallback for DASH and other non-HTTP urls
Diffstat (limited to 'youtube_dl/extractor/ruutu.py')
-rw-r--r--youtube_dl/extractor/ruutu.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/ruutu.py b/youtube_dl/extractor/ruutu.py
index e346434f9..59e0b12fd 100644
--- a/youtube_dl/extractor/ruutu.py
+++ b/youtube_dl/extractor/ruutu.py
@@ -62,6 +62,8 @@ class RuutuIE(InfoExtractor):
formats.extend(self._extract_f4m_formats(url, media_id, f4m_id='hds'))
parsed_urls.append(url)
else:
+ if not fmt.tag.startswith('HTTP'):
+ continue
proto = compat_urllib_parse_urlparse(url).scheme
width_str, height_str = fmt.get('resolution').split('x')
tbr = int(fmt.get('bitrate', 0))