mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:27:07 -05:00 
			
		
		
		
	[udemy] Use custom sorting
This commit is contained in:
		@@ -279,7 +279,7 @@ class UdemyIE(InfoExtractor):
 | 
			
		||||
                        'height': height,
 | 
			
		||||
                    })
 | 
			
		||||
 | 
			
		||||
        self._sort_formats(formats)
 | 
			
		||||
        self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
 | 
			
		||||
 | 
			
		||||
        return {
 | 
			
		||||
            'id': video_id,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user