projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8cc1e
)
[radiojavan] Sort formats
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 13:25:08 +0000
(19:25 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 13:25:08 +0000
(19:25 +0600)
youtube_dl/extractor/radiojavan.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/radiojavan.py
b/youtube_dl/extractor/radiojavan.py
index c9eda9b53985ee829b92e525d76de41b78a3f28e..884c284206cb73303a6631695872ce79ecf7795e 100644
(file)
--- a/
youtube_dl/extractor/radiojavan.py
+++ b/
youtube_dl/extractor/radiojavan.py
@@
-36,6
+36,7
@@
class RadioJavanIE(InfoExtractor):
'format_id': '%sp' % height,
'height': int(height),
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
+ self._sort_formats(formats)
title = self._og_search_title(webpage)
thumbnail = self._og_search_thumbnail(webpage)