fix swrmediathek for new formats.
This commit is contained in:
		
							parent
							
								
									c2b61af548
								
							
						
					
					
						commit
						d6fdc38682
					
				| @ -80,7 +80,7 @@ class SWRMediathekIE(InfoExtractor): | |||||||
| 
 | 
 | ||||||
|             if media_type == 'Video': |             if media_type == 'Video': | ||||||
|                 fmt.update({ |                 fmt.update({ | ||||||
|                     'format_note': ['144p', '288p', '544p'][quality-1], |                     'format_note': ['144p', '288p', '544p', '720p'][quality-1], | ||||||
|                     'vcodec': codec, |                     'vcodec': codec, | ||||||
|                 }) |                 }) | ||||||
|             elif media_type == 'Audio': |             elif media_type == 'Audio': | ||||||
| @ -101,4 +101,4 @@ class SWRMediathekIE(InfoExtractor): | |||||||
|             'uploader': attr['channel_title'], |             'uploader': attr['channel_title'], | ||||||
|             'uploader_id': attr['channel_idkey'], |             'uploader_id': attr['channel_idkey'], | ||||||
|             'formats': formats, |             'formats': formats, | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user