diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2023-08-20 11:10:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-20 16:10:15 +0000 |
commit | a0de8bb8601146b8f87bf7cd562eef8bfb4690be (patch) | |
tree | 08a7e09adf9ec8790a3b4e828c2800d852188667 /yt_dlp/extractor/zee5.py | |
parent | 876b70c8edf4c0147f180bd981fbc4d625cbfb9c (diff) | |
download | hypervideo-pre-a0de8bb8601146b8f87bf7cd562eef8bfb4690be.tar.lz hypervideo-pre-a0de8bb8601146b8f87bf7cd562eef8bfb4690be.tar.xz hypervideo-pre-a0de8bb8601146b8f87bf7cd562eef8bfb4690be.zip |
[ie/zee5] Update access token endpoint (#7914)
Closes #7911
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor/zee5.py')
-rw-r--r-- | yt_dlp/extractor/zee5.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/extractor/zee5.py b/yt_dlp/extractor/zee5.py index b4734cc8f..ca79cf0a7 100644 --- a/yt_dlp/extractor/zee5.py +++ b/yt_dlp/extractor/zee5.py @@ -133,8 +133,8 @@ class Zee5IE(InfoExtractor): def _real_extract(self, url): video_id, display_id = self._match_valid_url(url).group('id', 'display_id') access_token_request = self._download_json( - 'https://useraction.zee5.com/token/platform_tokens.php?platform_name=web_app', - video_id, note='Downloading access token') + 'https://launchapi.zee5.com/launch?platform_name=web_app', + video_id, note='Downloading access token')['platform_token'] data = { 'x-access-token': access_token_request['token'] } @@ -240,8 +240,8 @@ class Zee5SeriesIE(InfoExtractor): def _entries(self, show_id): access_token_request = self._download_json( - 'https://useraction.zee5.com/token/platform_tokens.php?platform_name=web_app', - show_id, note='Downloading access token') + 'https://launchapi.zee5.com/launch?platform_name=web_app', + show_id, note='Downloading access token')['platform_token'] headers = { 'X-Access-Token': access_token_request['token'], 'Referer': 'https://www.zee5.com/', |