[radiojavan] Sort formats
[youtube-dl] / youtube_dl / extractor / radiojavan.py
index c9eda9b53985ee829b92e525d76de41b78a3f28e..884c284206cb73303a6631695872ce79ecf7795e 100644 (file)
@@ -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)