mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[StreamCZ] Fix extractor (#3789)
Closes #3579 Authored by: dirkf, adamanldo
This commit is contained in:
		| @@ -52,8 +52,8 @@ class StreamCZIE(InfoExtractor): | |||||||
| 
 | 
 | ||||||
|     def _extract_formats(self, spl_url, video): |     def _extract_formats(self, spl_url, video): | ||||||
|         for ext, pref, streams in ( |         for ext, pref, streams in ( | ||||||
|                 ('ts', -1, traverse_obj(video, ('http_stream', 'qualities'))), |                 ('ts', -1, traverse_obj(video, ('http_stream', 'qualities')) or {}), | ||||||
|                 ('mp4', 1, video.get('mp4'))): |                 ('mp4', 1, video.get('mp4') or {})): | ||||||
|             for format_id, stream in streams.items(): |             for format_id, stream in streams.items(): | ||||||
|                 if not stream.get('url'): |                 if not stream.get('url'): | ||||||
|                     continue |                     continue | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 adamanldo
					adamanldo