[Olympics] Fix format extension

Closes #3481
This commit is contained in:
pukkandan 2022-04-19 22:44:11 +05:30
parent 6f638d325e
commit 2d3b3feb7e
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -53,7 +53,7 @@ def _real_extract(self, url):
}) })
m3u8_url = self._download_json( m3u8_url = self._download_json(
f'https://olympics.com/tokenGenerator?url={m3u8_url}', uuid, note='Downloading m3u8 url') 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) self._sort_formats(formats)
return { return {