mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
[tennistv] Fix format sorting
This commit is contained in:
parent
aae273ded8
commit
bce8cbb089
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ class TennisTVIE(InfoExtractor):
|
||||||
'https://www.tennistv.com/api/users/v1/entitlementchecknondiva',
|
'https://www.tennistv.com/api/users/v1/entitlementchecknondiva',
|
||||||
video_id, note='Checking video authorization', headers=headers, data=check_json)
|
video_id, note='Checking video authorization', headers=headers, data=check_json)
|
||||||
formats = self._extract_m3u8_formats(check_result['contentUrl'], video_id, ext='mp4')
|
formats = self._extract_m3u8_formats(check_result['contentUrl'], video_id, ext='mp4')
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
vdata = self._download_json(
|
vdata = self._download_json(
|
||||||
'https://www.tennistv.com/api/en/v2/none/common/video/%s' % video_id,
|
'https://www.tennistv.com/api/en/v2/none/common/video/%s' % video_id,
|
||||||
|
|
Loading…
Reference in a new issue