mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[ie/Mzaalo] Improve _VALID_URL
Authored by: bashonly
This commit is contained in:
parent
59e92b1f18
commit
d7aee8e310
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class MzaaloIE(InfoExtractor):
|
class MzaaloIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?mzaalo\.com/play/(?P<type>movie|original|clip)/(?P<id>[a-fA-F0-9-]+)/[\w-]+'
|
_VALID_URL = r'(?i)https?://(?:www\.)?mzaalo\.com/(?:play|watch)/(?P<type>movie|original|clip)/(?P<id>[a-f0-9-]+)/[\w-]+'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
# Movies
|
# Movies
|
||||||
'url': 'https://www.mzaalo.com/play/movie/c0958d9f-f90e-4503-a755-44358758921d/Jamun',
|
'url': 'https://www.mzaalo.com/play/movie/c0958d9f-f90e-4503-a755-44358758921d/Jamun',
|
||||||
@ -55,6 +55,9 @@ class MzaaloIE(InfoExtractor):
|
|||||||
'language': 'hin',
|
'language': 'hin',
|
||||||
},
|
},
|
||||||
'params': {'skip_download': 'm3u8'}
|
'params': {'skip_download': 'm3u8'}
|
||||||
|
}, {
|
||||||
|
'url': 'https://mzaalo.com/watch/MOVIE/389c892d-0b65-4019-bf73-d4edcb1c014f/Chalo-Dilli',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user