mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[utils] Reorder items in mimetype2ext alphabetically
This commit is contained in:
		| @@ -1828,11 +1828,11 @@ def mimetype2ext(mt): | |||||||
|     _, _, res = mt.rpartition('/') |     _, _, res = mt.rpartition('/') | ||||||
|  |  | ||||||
|     return { |     return { | ||||||
|         'x-ms-wmv': 'wmv', |  | ||||||
|         'x-mp4-fragmented': 'mp4', |  | ||||||
|         'ttml+xml': 'ttml', |  | ||||||
|         '3gpp': '3gp', |         '3gpp': '3gp', | ||||||
|  |         'ttml+xml': 'ttml', | ||||||
|         'x-flv': 'flv', |         'x-flv': 'flv', | ||||||
|  |         'x-mp4-fragmented': 'mp4', | ||||||
|  |         'x-ms-wmv': 'wmv', | ||||||
|     }.get(res, res) |     }.get(res, res) | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan