mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 06:00:00 +00:00
[extractor/zee5] Fix _VALID_URL
(#5124)
Closes #4612 Authored by: m4tu4g
This commit is contained in:
parent
177662e0f2
commit
7244895bde
1 changed files with 5 additions and 2 deletions
|
@ -23,7 +23,7 @@ class Zee5IE(InfoExtractor):
|
|||
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
|
||||
(?:
|
||||
(?:tv-shows|kids|web-series|zee5originals)(?:/[^#/?]+){3}
|
||||
|movies/[^#/?]+
|
||||
|(?:movies|kids|videos)/(?!kids-shows)[^#/?]+
|
||||
)/(?P<display_id>[^#/?]+)/
|
||||
)
|
||||
(?P<id>[^#/?]+)/?(?:$|[?#])
|
||||
|
@ -84,6 +84,9 @@ 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
|
||||
}, {
|
||||
'url': 'https://www.zee5.com/kids/kids-movies/maya-bommalu/0-0-movie_1040370005',
|
||||
'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 = ''.join(random.choices(string.ascii_letters + string.digits, k=20)).ljust(32, '0')
|
||||
|
@ -176,7 +179,7 @@ class Zee5SeriesIE(InfoExtractor):
|
|||
(?:
|
||||
zee5:series:|
|
||||
https?://(?:www\.)?zee5\.com/(?:[^#?]+/)?
|
||||
(?:tv-shows|web-series|kids|zee5originals)(?:/[^#/?]+){2}/
|
||||
(?:tv-shows|web-series|kids|zee5originals)/(?!kids-movies)(?:[^#/?]+/){2}
|
||||
)
|
||||
(?P<id>[^#/?]+)(?:/episodes)?/?(?:$|[?#])
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue