From 4d4f9a029f8aebd06bcd98ca61e7629de47e0018 Mon Sep 17 00:00:00 2001 From: Aniruddh Joshi Date: Mon, 21 Feb 2022 13:37:36 +0530 Subject: [PATCH] [zee5] Support web-series (#2827) Authored by: Aniruddh-J --- yt_dlp/extractor/zee5.py | 10 ++++++++-- 1 file 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[^#/?]+)/ ) @@ -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[^#/?]+)(?:/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):