[ZEE5] Fix extractor.

Authored by: Ashish0804
Closes: https://github.com/yt-dlp/yt-dlp/issues/3105
This commit is contained in:
Ashish Gupta 2022-04-08 21:03:50 +05:30
parent dee1d65dc3
commit 2d2b5493ee

View file

@ -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'