This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[udemy] Use custom sorting
totalwebcasting
Sergey M․
9 years ago
parent
efcba804f6
commit
48dce58ca9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/udemy.py
+ 1
- 1
youtube_dl/extractor/udemy.py
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
,
Write
Preview
Loading…
Cancel
Save