Browse Source

[udemy] Use custom sorting

master
Sergey M․ 8 years ago
parent
commit
48dce58ca9
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/udemy.py

2
youtube_dl/extractor/udemy.py

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

Loading…
Cancel
Save