]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/wimtv.py
[extractor] Common function `_match_valid_url`
[yt-dlp.git] / yt_dlp / extractor / wimtv.py
index f32d0afc8ce0e0f72e34bd2d40450ab358ae2c4f..ea953bf77620d952992b1eb29d975a05574e54b6 100644 (file)
@@ -119,7 +119,7 @@ def _generate_thumbnail(self, thumb_id, width='720'):
             thumb_id, width)
 
     def _real_extract(self, url):
-        urlc = re.match(self._VALID_URL, url).groupdict()
+        urlc = self._match_valid_url(url).groupdict()
         video_id = urlc['id']
         stream_type = is_live = None
         if urlc['type'] in {'live', 'cast'}: