aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-26 23:42:46 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-26 23:42:46 +0600
commit48dce58ca907921f5013367a7b22235b3a3a05df (patch)
tree8f333f32229315a17d296282ae1a7666c00e5c4a /youtube_dl
parentefcba804f646dfc4eda2f9df2baf3ebed0f1bbe4 (diff)
[udemy] Use custom sorting
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/udemy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/udemy.py b/youtube_dl/extractor/udemy.py
index da2d542ec..100db4dd0 100644
--- a/youtube_dl/extractor/udemy.py
+++ b/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,