From: Sergey M․ Date: Sat, 4 Apr 2015 13:25:08 +0000 (+0600) Subject: [radiojavan] Sort formats X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=8fb2e5a4f5b9604f93964f9b6ae7062830e3bab2;p=youtube-dl [radiojavan] Sort formats --- diff --git a/youtube_dl/extractor/radiojavan.py b/youtube_dl/extractor/radiojavan.py index c9eda9b53..884c28420 100644 --- 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)