]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/jeuxvideo.py
[ie/orf:on] Improve extraction (#9677)
[yt-dlp.git] / yt_dlp / extractor / jeuxvideo.py
index e9f4ed7384225456edf87baf0c24ce5c6ecc4b20..793820600e5f53cf705817d7f2c5bbb98fd4a5bf 100644 (file)
@@ -1,13 +1,9 @@
-# coding: utf-8
-
-from __future__ import unicode_literals
-
-import re
-
 from .common import InfoExtractor
 
 
 class JeuxVideoIE(InfoExtractor):
+    _WORKING = False
+    _ENABLED = None  # XXX: pass through to GenericIE
     _VALID_URL = r'https?://.*?\.jeuxvideo\.com/.*/(.*?)\.htm'
 
     _TESTS = [{
@@ -25,7 +21,7 @@ class JeuxVideoIE(InfoExtractor):
     }]
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
+        mobj = self._match_valid_url(url)
         title = mobj.group(1)
         webpage = self._download_webpage(url, title)
         title = self._html_search_meta('name', webpage) or self._og_search_title(webpage)