From eaeeef9c1d1bedb76fea953c332ef84d53bffe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 2 Dec 2022 05:21:10 +0800 Subject: update from upstream --- hypervideo_dl/extractor/olympics.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'hypervideo_dl/extractor/olympics.py') diff --git a/hypervideo_dl/extractor/olympics.py b/hypervideo_dl/extractor/olympics.py index 784f282..61d1f40 100644 --- a/hypervideo_dl/extractor/olympics.py +++ b/hypervideo_dl/extractor/olympics.py @@ -1,6 +1,3 @@ -# coding: utf-8 -from __future__ import unicode_literals - from .common import InfoExtractor from ..utils import ( int_or_none, @@ -56,8 +53,7 @@ class OlympicsReplayIE(InfoExtractor): }) m3u8_url = self._download_json( f'https://olympics.com/tokenGenerator?url={m3u8_url}', uuid, note='Downloading m3u8 url') - formats, subtitles = self._extract_m3u8_formats_and_subtitles(m3u8_url, uuid, m3u8_id='hls') - self._sort_formats(formats) + formats, subtitles = self._extract_m3u8_formats_and_subtitles(m3u8_url, uuid, 'mp4', m3u8_id='hls') return { 'id': uuid, -- cgit v1.2.3