]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/xfileshare.py
[extractor] Common function `_match_valid_url`
[yt-dlp.git] / yt_dlp / extractor / xfileshare.py
index df9efa9faed512c0a62a3c0762fd935bc91f2dab..cd97c77dc6cbe13b85104863025a2dafa98af8d1 100644 (file)
@@ -98,7 +98,7 @@ def _extract_urls(webpage):
                 webpage)]
 
     def _real_extract(self, url):
-        host, video_id = re.match(self._VALID_URL, url).groups()
+        host, video_id = self._match_valid_url(url).groups()
 
         url = 'https://%s/' % host + ('embed-%s.html' % video_id if host in ('govid.me', 'vidlo.us') else video_id)
         webpage = self._download_webpage(url, video_id)