]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/godtube.py
[ie/crunchyroll] Fix stream extraction (#10005)
[yt-dlp.git] / yt_dlp / extractor / godtube.py
index 92efd16b3e6234d9d64392a14ba47ac3f315a942..35fb7a9c97e474727383eaa33c9066bfd561792a 100644 (file)
@@ -1,7 +1,3 @@
-from __future__ import unicode_literals
-
-import re
-
 from .common import InfoExtractor
 from ..utils import (
     parse_duration,
@@ -10,6 +6,7 @@
 
 
 class GodTubeIE(InfoExtractor):
+    _WORKING = False
     _VALID_URL = r'https?://(?:www\.)?godtube\.com/watch/\?v=(?P<id>[\da-zA-Z]+)'
     _TESTS = [
         {
@@ -29,7 +26,7 @@ class GodTubeIE(InfoExtractor):
     ]
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
+        mobj = self._match_valid_url(url)
         video_id = mobj.group('id')
 
         config = self._download_xml(