[zee5] Fix m3u8 formats extension

This commit is contained in:
pukkandan 2021-05-28 19:34:22 +05:30
parent 835a1478b4
commit 077c476276
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -98,7 +98,7 @@ class Zee5IE(InfoExtractor):
compat_str) compat_str)
formats = self._extract_m3u8_formats( formats = self._extract_m3u8_formats(
'https://zee5vodnd.akamaized.net' + m3u8_url.replace('/drm', '/hls', 1) + token_request['video_token'], 'https://zee5vodnd.akamaized.net' + m3u8_url.replace('/drm', '/hls', 1) + token_request['video_token'],
video_id, fatal=False) video_id, 'mp4', fatal=False)
mpd_url = try_get( mpd_url = try_get(
json_data, json_data,
(lambda x: x['video'][0], lambda x: x['video_details']['url']), (lambda x: x['video'][0], lambda x: x['video_details']['url']),