[extractor/voot] Improve `_VALID_URL` (#5283)

Authored by: freezboltz
pull/4585/head^2
Anant Murmu 2 years ago committed by GitHub
parent 5318156f1c
commit a4713ba96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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):

Loading…
Cancel
Save