diff options
author | pukkandan <pukkandan@gmail.com> | 2021-02-18 23:42:56 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-02-19 00:12:21 +0530 |
commit | dca3ff4a5e9628a13881eb556fa675e23671834c (patch) | |
tree | 06eeb1dba67d3809937468b4a24876a8e5c77d86 /youtube_dlc/extractor/arte.py | |
parent | da9be05edfae2dae0c8019504a557568794a2aad (diff) |
[formatsort] Remove forced priority of `quality`
When making `FormatSort`, I misinterpreted the purpose `quality`
Diffstat (limited to 'youtube_dlc/extractor/arte.py')
-rw-r--r-- | youtube_dlc/extractor/arte.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/arte.py b/youtube_dlc/extractor/arte.py index 03abdbfaf..ca41aaea9 100644 --- a/youtube_dlc/extractor/arte.py +++ b/youtube_dlc/extractor/arte.py @@ -168,7 +168,9 @@ class ArteTVIE(ArteTVBaseIE): formats.append(format) - self._sort_formats(formats) + # For this extractor, quality only represents the relative quality + # with respect to other formats with the same resolution + self._sort_formats(formats, ('res', 'quality')) return { 'id': player_info.get('VID') or video_id, |