aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshish Gupta <Ashish08@protonmail.com>2022-04-08 21:03:50 +0530
committerAshish Gupta <Ashish08@protonmail.com>2022-04-08 21:03:50 +0530
commit2d2b5493ee88ccde079a5cde3d58ac5469057d17 (patch)
tree28bbeb0bb0a8d63480e9d3518218c3eb30eaa3c1
parentdee1d65dc362f69b28287b2e82d93be4d22d1968 (diff)
downloadhypervideo-pre-2d2b5493ee88ccde079a5cde3d58ac5469057d17.tar.lz
hypervideo-pre-2d2b5493ee88ccde079a5cde3d58ac5469057d17.tar.xz
hypervideo-pre-2d2b5493ee88ccde079a5cde3d58ac5469057d17.zip
[ZEE5] Fix extractor.
Authored by: Ashish0804 Closes: https://github.com/yt-dlp/yt-dlp/issues/3105
-rw-r--r--yt_dlp/extractor/zee5.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/zee5.py b/yt_dlp/extractor/zee5.py
index 3e3f11b15..9e411d83f 100644
--- a/yt_dlp/extractor/zee5.py
+++ b/yt_dlp/extractor/zee5.py
@@ -86,8 +86,8 @@ class Zee5IE(InfoExtractor):
'url': 'https://www.zee5.com/web-series/details/mithya/0-6-4z587408/maine-dekhi-hai-uski-mrityu/0-1-6z587412',
'only_matching': True
}]
- _DETAIL_API_URL = 'https://spapi.zee5.com/singlePlayback/getDetails?content_id={}&device_id={}&platform_name=desktop_web&country=IN&check_parental_control=false'
- _DEVICE_ID = 'iIxsxYf40cqO3koIkwzKHZhnJzHN13zb'
+ _DETAIL_API_URL = 'https://spapi.zee5.com/singlePlayback/getDetails/secure?content_id={}&device_id={}&platform_name=desktop_web&country=IN&check_parental_control=false'
+ _DEVICE_ID = 'TszZPYPuY9Pq2cJizV0U000000000000'
_USER_TOKEN = None
_LOGIN_HINT = 'Use "--username <mobile_number>" to login using otp or "--username token" and "--password <user_token>" to login using user token.'
_NETRC_MACHINE = 'zee5'