aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/zee5.py
diff options
context:
space:
mode:
authorAniruddh Joshi <aniruddh@ebincoweb.com>2022-02-21 13:37:36 +0530
committerGitHub <noreply@github.com>2022-02-21 00:07:36 -0800
commit4d4f9a029f8aebd06bcd98ca61e7629de47e0018 (patch)
tree331ecd1141b6b14d34c35311d4000ef3325f4de1 /yt_dlp/extractor/zee5.py
parentf099df1463705a37c5aec0c8108b2b00750c9428 (diff)
downloadhypervideo-pre-4d4f9a029f8aebd06bcd98ca61e7629de47e0018.tar.lz
hypervideo-pre-4d4f9a029f8aebd06bcd98ca61e7629de47e0018.tar.xz
hypervideo-pre-4d4f9a029f8aebd06bcd98ca61e7629de47e0018.zip
[zee5] Support web-series (#2827)
Authored by: Aniruddh-J
Diffstat (limited to 'yt_dlp/extractor/zee5.py')
-rw-r--r--yt_dlp/extractor/zee5.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/yt_dlp/extractor/zee5.py b/yt_dlp/extractor/zee5.py
index 55c225d85..ebe393ec7 100644
--- a/yt_dlp/extractor/zee5.py
+++ b/yt_dlp/extractor/zee5.py
@@ -23,7 +23,7 @@ class Zee5IE(InfoExtractor):
zee5:|
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
(?:
- (?:tv-shows|kids|zee5originals)(?:/[^#/?]+){3}
+ (?:tv-shows|kids|web-series|zee5originals)(?:/[^#/?]+){3}
|movies/[^#/?]+
)/(?P<display_id>[^#/?]+)/
)
@@ -82,6 +82,9 @@ class Zee5IE(InfoExtractor):
}, {
'url': 'https://www.zee5.com/global/hi/tv-shows/details/kundali-bhagya/0-6-366/kundali-bhagya-march-08-2021/0-1-manual_7g9jv1os7730',
'only_matching': True
+ }, {
+ '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'
@@ -179,7 +182,7 @@ class Zee5SeriesIE(InfoExtractor):
(?:
zee5:series:|
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
- (?:tv-shows|kids|zee5originals)(?:/[^#/?]+){2}/
+ (?:tv-shows|web-series|kids|zee5originals)(?:/[^#/?]+){2}/
)
(?P<id>[^#/?]+)(?:/episodes)?/?(?:$|[?#])
'''
@@ -216,6 +219,9 @@ class Zee5SeriesIE(InfoExtractor):
}, {
'url': 'https://www.zee5.com/tv-shows/details/chala-hawa-yeu-dya-ladies-zindabaad/0-6-2943/episodes',
'only_matching': True,
+ }, {
+ 'url': 'https://www.zee5.com/web-series/details/mithya/0-6-4z587408',
+ 'only_matching': True,
}]
def _entries(self, show_id):