]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/moevideo.py
[extractor/rokfin] Re-construct manifest url (#6507)
[yt-dlp.git] / yt_dlp / extractor / moevideo.py
index eb9b4ce7c5a3115ce9c1baf9c6b52294cfd95f61..fda08cae9122e111e6e5d79498305b4ec59e91fa 100644 (file)
@@ -1,8 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-import re
-
 from .common import InfoExtractor
 from ..utils import (
     clean_html,
@@ -54,7 +49,7 @@ class MoeVideoIE(InfoExtractor):
     ]
 
     def _real_extract(self, url):
-        host, video_id = re.match(self._VALID_URL, url).groups()
+        host, video_id = self._match_valid_url(url).groups()
 
         webpage = self._download_webpage(
             'http://%s/video/%s' % (host, video_id),