1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 16:45:17 +00:00

[extractor/voot] Improve _VALID_URL (#5283)

Authored by: freezboltz
This commit is contained in:
Anant Murmu
2022-10-19 12:25:28 +05:30
committed by GitHub
parent 5318156f1c
commit a4713ba96d

View File

@ -14,7 +14,7 @@ class VootIE(InfoExtractor):
voot:| voot:|
https?://(?:www\.)?voot\.com/? https?://(?:www\.)?voot\.com/?
(?: (?:
movies/[^/]+/| movies?/[^/]+/|
(?:shows|kids)/(?:[^/]+/){4} (?:shows|kids)/(?:[^/]+/){4}
) )
) )
@ -47,6 +47,9 @@ class VootIE(InfoExtractor):
}, { }, {
'url': 'https://www.voot.com/movies/pandavas-5/424627', 'url': 'https://www.voot.com/movies/pandavas-5/424627',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://www.voot.com/movie/fight-club/621842',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):