]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/crunchyroll.py
[extractor] Common function `_match_valid_url`
[yt-dlp.git] / yt_dlp / extractor / crunchyroll.py
index 091e15e8d56247107c0b5dc1ecf097663466bf20..256c6943f2e10a93af53ad2970b19c9976ed5c57 100644 (file)
@@ -413,7 +413,7 @@ def _get_subtitles(self, video_id, webpage):
         return subtitles
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
+        mobj = self._match_valid_url(url)
         video_id = mobj.group('id')
 
         if mobj.group('prefix') == 'm':