mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
c72967d5de
commit
db9a564b6a
1 changed files with 2 additions and 2 deletions
|
@ -97,14 +97,14 @@ def _real_extract(self, url):
|
||||||
(lambda x: x['hls'][0], lambda x: x['video_details']['hls_url']),
|
(lambda x: x['hls'][0], lambda x: x['video_details']['hls_url']),
|
||||||
str)
|
str)
|
||||||
formats = self._extract_m3u8_formats(
|
formats = self._extract_m3u8_formats(
|
||||||
'https://zee5vodnd.akamaized.net' + m3u8_url.replace('/drm1/', '/hls1/') + token_request['video_token'],
|
'https://zee5vodnd.akamaized.net' + m3u8_url.replace('/drm', '/hls', 1) + token_request['video_token'],
|
||||||
video_id, fatal=False)
|
video_id, 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']),
|
||||||
str)
|
str)
|
||||||
formats += self._extract_mpd_formats(
|
formats += self._extract_mpd_formats(
|
||||||
'https://zee5vodnd.akamaized.net' + mpd_url + token_request['video_token'],
|
'https://zee5vod.akamaized.net' + mpd_url,
|
||||||
video_id, fatal=False)
|
video_id, fatal=False)
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in a new issue