From: Yen Chi Hsuan Date: Mon, 25 Apr 2016 14:24:40 +0000 (+0800) Subject: [unistra] Sort formats X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=abc1723edd03d38b256e012d465e3343064f5682;p=youtube-dl [unistra] Sort formats Originally URLs are passed to set() and not sorted, so the result is not deterministic, causing occasional FAILs on Travis CI. --- diff --git a/youtube_dl/extractor/unistra.py b/youtube_dl/extractor/unistra.py index 66d9f1bf3..a724cdbef 100644 --- a/youtube_dl/extractor/unistra.py +++ b/youtube_dl/extractor/unistra.py @@ -49,6 +49,7 @@ class UnistraIE(InfoExtractor): 'format_id': format_id, 'quality': quality(format_id) }) + self._sort_formats(formats) title = self._html_search_regex( r'UTV - (.*?)</', webpage, 'title')