From 2d3b3feb7e69df0840d06fc1c8b27c5f26de054f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Tue, 19 Apr 2022 22:44:11 +0530 Subject: [PATCH] [Olympics] Fix format extension Closes #3481 --- yt_dlp/extractor/olympics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/olympics.py b/yt_dlp/extractor/olympics.py index 85f17a2f4..42ea94905 100644 --- a/yt_dlp/extractor/olympics.py +++ b/yt_dlp/extractor/olympics.py @@ -53,7 +53,7 @@ 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, m3u8_id='hls') + formats, subtitles = self._extract_m3u8_formats_and_subtitles(m3u8_url, uuid, 'mp4', m3u8_id='hls') self._sort_formats(formats) return {