diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-25 22:24:40 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-04-25 22:24:40 +0800 |
commit | abc1723edd03d38b256e012d465e3343064f5682 (patch) | |
tree | bf8b533f41f166e3e699e52b401356e17fd5f1a6 | |
parent | b248e6485bb83839a9f2f91078a92eb5b2fc3b6a (diff) |
[unistra] Sort formats
Originally URLs are passed to set() and not sorted, so the result is not
deterministic, causing occasional FAILs on Travis CI.
-rw-r--r-- | youtube_dl/extractor/unistra.py | 1 |
1 files changed, 1 insertions, 0 deletions
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'<title>UTV - (.*?)</', webpage, 'title') |