projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'rrooij-gamekings_fix'
[youtube-dl]
/
youtube_dl
/
extractor
/
radiojavan.py
diff --git
a/youtube_dl/extractor/radiojavan.py
b/youtube_dl/extractor/radiojavan.py
index 73ab78d6d01fca181a11d86d11b85461bfb892a7..884c284206cb73303a6631695872ce79ecf7795e 100644
(file)
--- a/
youtube_dl/extractor/radiojavan.py
+++ b/
youtube_dl/extractor/radiojavan.py
@@
-34,8
+34,9
@@
class RadioJavanIE(InfoExtractor):
formats = [{
'url': 'https://media.rdjavan.com/media/music_video/%s' % video_path,
'format_id': '%sp' % height,
formats = [{
'url': 'https://media.rdjavan.com/media/music_video/%s' % video_path,
'format_id': '%sp' % height,
- 'height':
height
,
+ 'height':
int(height)
,
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
} 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)
title = self._og_search_title(webpage)
thumbnail = self._og_search_thumbnail(webpage)