projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efcba80
)
[udemy] Use custom sorting
author
Sergey M․
<dstftw@gmail.com>
Sat, 26 Mar 2016 17:42:46 +0000
(23:42 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 26 Mar 2016 17:42:46 +0000
(23:42 +0600)
youtube_dl/extractor/udemy.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/udemy.py
b/youtube_dl/extractor/udemy.py
index da2d542ec5033d1a776f82c884856f019f7bf5f9..100db4dd02339208c85df55fff0edddbf4403aff 100644
(file)
--- 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,