Browse Source

[ruutu] Don't use fallback for DASH and other non-HTTP urls

totalwebcasting
Hannu Lintala 10 years ago
parent
commit
d00735a0c5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      youtube_dl/extractor/ruutu.py

+ 2
- 0
youtube_dl/extractor/ruutu.py View File

@ -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))


Loading…
Cancel
Save