mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-11-25 00:07:17 +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:
parent
b248e6485b
commit
abc1723edd
@ -49,6 +49,7 @@ class UnistraIE(InfoExtractor):
|
|||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
'quality': quality(format_id)
|
'quality': quality(format_id)
|
||||||
})
|
})
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'<title>UTV - (.*?)</', webpage, 'title')
|
r'<title>UTV - (.*?)</', webpage, 'title')
|
||||||
|
Loading…
Reference in New Issue
Block a user