projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e952847
)
[reddit] Sort formats (closes #14430)
author
Sergey M․
<dstftw@gmail.com>
Fri, 6 Oct 2017 18:40:00 +0000
(
01:40
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 6 Oct 2017 18:40:00 +0000
(
01:40
+0700)
youtube_dl/extractor/reddit.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/reddit.py
b/youtube_dl/extractor/reddit.py
index 01c85ee016306aa30b44c7521e736e6094b14f9c..4d44b9d74fcc9532130c2932f5afe5153e25a246 100644
(file)
--- a/
youtube_dl/extractor/reddit.py
+++ b/
youtube_dl/extractor/reddit.py
@@
-35,6
+35,8
@@
class RedditIE(InfoExtractor):
'https://v.redd.it/%s/DASHPlaylist.mpd' % video_id, video_id,
mpd_id='dash', fatal=False))
+ self._sort_formats(formats)
+
return {
'id': video_id,
'title': video_id,