diff options
author | m4tu4g <71326926+m4tu4g@users.noreply.github.com> | 2022-07-24 14:03:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 14:03:39 +0530 |
commit | 0f7247f88e15c424faa0f556e9d2e21ba320f501 (patch) | |
tree | 17c6637eb5870c9d8c0a43b7c1be9ecf41c575c5 | |
parent | 2dc4970e08c1f40332b9ccd90ccbc5340b86f7bc (diff) | |
download | hypervideo-pre-0f7247f88e15c424faa0f556e9d2e21ba320f501.tar.lz hypervideo-pre-0f7247f88e15c424faa0f556e9d2e21ba320f501.tar.xz hypervideo-pre-0f7247f88e15c424faa0f556e9d2e21ba320f501.zip |
[extractor/zee5] Update Device ID (#4423)
Closes #4378
Authored by: m4tu4g
-rw-r--r-- | yt_dlp/extractor/zee5.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/yt_dlp/extractor/zee5.py b/yt_dlp/extractor/zee5.py index 9ff36052e..29c6d04e6 100644 --- a/yt_dlp/extractor/zee5.py +++ b/yt_dlp/extractor/zee5.py @@ -27,19 +27,19 @@ class Zee5IE(InfoExtractor): (?P<id>[^#/?]+)/?(?:$|[?#]) ''' _TESTS = [{ - 'url': 'https://www.zee5.com/movies/details/krishna-the-birth/0-0-63098', + 'url': 'https://www.zee5.com/movies/details/adavari-matalaku-ardhale-verule/0-0-movie_1143162669', 'info_dict': { - 'id': '0-0-63098', + 'id': '0-0-movie_1143162669', 'ext': 'mp4', - 'display_id': 'krishna-the-birth', - 'title': 'Krishna - The Birth', - 'duration': 4368, + 'display_id': 'adavari-matalaku-ardhale-verule', + 'title': 'Adavari Matalaku Ardhale Verule', + 'duration': 9360, 'description': compat_str, - 'alt_title': 'Krishna - The Birth', + 'alt_title': 'Adavari Matalaku Ardhale Verule', 'uploader': 'Zee Entertainment Enterprises Ltd', - 'release_date': '20060101', - 'upload_date': '20060101', - 'timestamp': 1136073600, + 'release_date': '20070427', + 'upload_date': '20070427', + 'timestamp': 1177632000, 'thumbnail': r're:^https?://.*\.jpg$', 'episode_number': 0, 'episode': 'Episode 0', @@ -84,7 +84,7 @@ class Zee5IE(InfoExtractor): 'only_matching': True }] _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' + _DEVICE_ID = '1q70TH8Wz0wTyw4buVgg000000000000' _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' |