aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-04 19:25:08 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-04 19:25:08 +0600
commit8fb2e5a4f5b9604f93964f9b6ae7062830e3bab2 (patch)
treecc33ab8e173d35952c69ba2ee6ca40e0a57a9ec4
parent4e8cc1e973da2656c46c5df84d4e85c5d78836ac (diff)
[radiojavan] Sort formats
-rw-r--r--youtube_dl/extractor/radiojavan.py1
1 files changed, 1 insertions, 0 deletions
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)