mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 03:33:46 +00:00 
			
		
		
		
	[svt] Fix DASH formats extraction
This commit is contained in:
		
							parent
							
								
									b4c1d6e800
								
							
						
					
					
						commit
						21d21b0c72
					
				@ -16,7 +16,7 @@ class SVTBaseIE(InfoExtractor):
 | 
			
		||||
    def _extract_video(self, video_info, video_id):
 | 
			
		||||
        formats = []
 | 
			
		||||
        for vr in video_info['videoReferences']:
 | 
			
		||||
            player_type = vr.get('playerType')
 | 
			
		||||
            player_type = vr.get('playerType') or vr.get('format')
 | 
			
		||||
            vurl = vr['url']
 | 
			
		||||
            ext = determine_ext(vurl)
 | 
			
		||||
            if ext == 'm3u8':
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user