[zee5] Support web-series (#2827)

Authored by: Aniruddh-J
pull/2844/head
Aniruddh Joshi 3 years ago committed by GitHub
parent f099df1463
commit 4d4f9a029f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ class Zee5IE(InfoExtractor):
zee5:| zee5:|
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)? https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
(?: (?:
(?:tv-shows|kids|zee5originals)(?:/[^#/?]+){3} (?:tv-shows|kids|web-series|zee5originals)(?:/[^#/?]+){3}
|movies/[^#/?]+ |movies/[^#/?]+
)/(?P<display_id>[^#/?]+)/ )/(?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', '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 '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' _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' _DEVICE_ID = 'iIxsxYf40cqO3koIkwzKHZhnJzHN13zb'
@ -179,7 +182,7 @@ class Zee5SeriesIE(InfoExtractor):
(?: (?:
zee5:series:| zee5:series:|
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)? https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
(?:tv-shows|kids|zee5originals)(?:/[^#/?]+){2}/ (?:tv-shows|web-series|kids|zee5originals)(?:/[^#/?]+){2}/
) )
(?P<id>[^#/?]+)(?:/episodes)?/?(?:$|[?#]) (?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', 'url': 'https://www.zee5.com/tv-shows/details/chala-hawa-yeu-dya-ladies-zindabaad/0-6-2943/episodes',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://www.zee5.com/web-series/details/mithya/0-6-4z587408',
'only_matching': True,
}] }]
def _entries(self, show_id): def _entries(self, show_id):

Loading…
Cancel
Save