]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/extractor/arte.py
[formatsort] Remove forced priority of `quality`
[yt-dlp.git] / youtube_dlc / extractor / arte.py
index 03abdbfafa7cfb5c5aedf289cbe7ce0bb6d7ab35..ca41aaea99c7ac06bf2f23056b850bd1da8fc372 100644 (file)
@@ -168,7 +168,9 @@ def _real_extract(self, url):
 
             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,