From d3d8d8184aafc22ed11edcd3ac175482fbb468e7 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 6 Jun 2021 15:05:07 +0530 Subject: [extractor] Fix pre-checking archive for some extractors The `id` regex group must be present for `_match_id` and pre-checking archive to work correctly --- yt_dlp/extractor/awaan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/extractor/awaan.py') diff --git a/yt_dlp/extractor/awaan.py b/yt_dlp/extractor/awaan.py index 3a7700cd4..822136dfb 100644 --- a/yt_dlp/extractor/awaan.py +++ b/yt_dlp/extractor/awaan.py @@ -19,7 +19,7 @@ from ..utils import ( class AWAANIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?(?:awaan|dcndigital)\.ae/(?:#/)?show/(?P\d+)/[^/]+(?:/(?P\d+)/(?P\d+))?' + _VALID_URL = r'https?://(?:www\.)?(?:awaan|dcndigital)\.ae/(?:#/)?show/(?P\d+)/[^/]+(?:/(?P\d+)/(?P\d+))?' def _real_extract(self, url): show_id, video_id, season_id = re.match(self._VALID_URL, url).groups() -- cgit v1.2.3