From: Sergey M․ Date: Fri, 29 Apr 2016 13:44:10 +0000 (+0600) Subject: [crunchyroll] Sort formats X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=00a17a9e1234ecc868a15b5759472a0f9215f797;p=youtube-dl [crunchyroll] Sort formats --- diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index 58960b2f8..90a64303d 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -367,6 +367,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text 'ext': 'flv', }) formats.append(format_info) + self._sort_formats(formats) metadata = self._download_xml( 'http://www.crunchyroll.com/xml', video_id,