From bce8cbb089731f0b223e0e20fa3a6734ec702b25 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 25 Feb 2021 16:07:38 +0530 Subject: [PATCH] [tennistv] Fix format sorting --- yt_dlp/extractor/tennistv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/tennistv.py b/yt_dlp/extractor/tennistv.py index 5e3eb8938..a39a2fc60 100644 --- a/yt_dlp/extractor/tennistv.py +++ b/yt_dlp/extractor/tennistv.py @@ -86,6 +86,7 @@ class TennisTVIE(InfoExtractor): 'https://www.tennistv.com/api/users/v1/entitlementchecknondiva', video_id, note='Checking video authorization', headers=headers, data=check_json) formats = self._extract_m3u8_formats(check_result['contentUrl'], video_id, ext='mp4') + self._sort_formats(formats) vdata = self._download_json( 'https://www.tennistv.com/api/en/v2/none/common/video/%s' % video_id,