]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/olympics.py
[misc] Add `hatch`, `ruff`, `pre-commit` and improve dev docs (#7409)
[yt-dlp.git] / yt_dlp / extractor / olympics.py
index 42ea949051b3b18142317e590ce9739b53cd08d3..5507d2fda3730d91931a97cdac8bf173e71abe5b 100644 (file)
@@ -1,8 +1,5 @@
 from .common import InfoExtractor
-from ..utils import (
-    int_or_none,
-    try_get
-)
+from ..utils import int_or_none, try_get
 
 
 class OlympicsReplayIE(InfoExtractor):
@@ -54,7 +51,6 @@ def _real_extract(self, url):
         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, 'mp4', m3u8_id='hls')
-        self._sort_formats(formats)
 
         return {
             'id': uuid,