mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[ruutu] Don't use fallback for DASH and other non-HTTP urls
This commit is contained in:
		| @@ -62,6 +62,8 @@ class RuutuIE(InfoExtractor): | |||||||
|                 formats.extend(self._extract_f4m_formats(url, media_id, f4m_id='hds')) |                 formats.extend(self._extract_f4m_formats(url, media_id, f4m_id='hds')) | ||||||
|                 parsed_urls.append(url) |                 parsed_urls.append(url) | ||||||
|             else: |             else: | ||||||
|  |                 if not fmt.tag.startswith('HTTP'): | ||||||
|  |                     continue | ||||||
|                 proto = compat_urllib_parse_urlparse(url).scheme |                 proto = compat_urllib_parse_urlparse(url).scheme | ||||||
|                 width_str, height_str = fmt.get('resolution').split('x') |                 width_str, height_str = fmt.get('resolution').split('x') | ||||||
|                 tbr = int(fmt.get('bitrate', 0)) |                 tbr = int(fmt.get('bitrate', 0)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Hannu Lintala
					Hannu Lintala