[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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