0
0
Fork 0

[udemy] Use custom sorting

main
Sergey M․ 2016-03-26 23:42:46 +06:00
parent efcba804f6
commit 48dce58ca9
1 changed files with 1 additions and 1 deletions

View File

@ -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,