1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 02:15:55 +01:00

[unistra] Sort formats

Originally URLs are passed to set() and not sorted, so the result is not
deterministic, causing occasional FAILs on Travis CI.
This commit is contained in:
Yen Chi Hsuan 2016-04-25 22:24:40 +08:00
parent b248e6485b
commit abc1723edd
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -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')