projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2235445
)
[ruutu] Don't use fallback for DASH and other non-HTTP urls
author
Hannu Lintala
<hannu.lintala@gmail.com>
Sat, 6 Jun 2015 20:01:23 +0000
(23:01 +0300)
committer
Hannu Lintala
<hannu.lintala@gmail.com>
Sat, 6 Jun 2015 20:01:23 +0000
(23:01 +0300)
youtube_dl/extractor/ruutu.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ruutu.py
b/youtube_dl/extractor/ruutu.py
index e346434f94a585b86b01ddd5c6ae6f7ac3490541..59e0b12fda155a19a80b14420d5bbcf1e2315d04 100644
(file)
--- 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))