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

This commit is contained in:
Hannu Lintala 2015-06-06 23:01:23 +03:00
parent 223544552f
commit d00735a0c5

View file

@ -62,6 +62,8 @@ def _real_extract(self, url):
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))