From d7aee8e310b2c4f21d50aac0b420e1b3abde21a4 Mon Sep 17 00:00:00 2001 From: bashonly Date: Fri, 25 Aug 2023 08:44:05 -0500 Subject: [PATCH] [ie/Mzaalo] Improve `_VALID_URL` Authored by: bashonly --- yt_dlp/extractor/mzaalo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/mzaalo.py b/yt_dlp/extractor/mzaalo.py index c6f420cea..1996368cc 100644 --- a/yt_dlp/extractor/mzaalo.py +++ b/yt_dlp/extractor/mzaalo.py @@ -8,7 +8,7 @@ class MzaaloIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?mzaalo\.com/play/(?Pmovie|original|clip)/(?P[a-fA-F0-9-]+)/[\w-]+' + _VALID_URL = r'(?i)https?://(?:www\.)?mzaalo\.com/(?:play|watch)/(?Pmovie|original|clip)/(?P[a-f0-9-]+)/[\w-]+' _TESTS = [{ # Movies 'url': 'https://www.mzaalo.com/play/movie/c0958d9f-f90e-4503-a755-44358758921d/Jamun', @@ -55,6 +55,9 @@ class MzaaloIE(InfoExtractor): 'language': 'hin', }, '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):