]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/seeker.py
[extractor/GoPlay] Use new API (#6151)
[yt-dlp.git] / yt_dlp / extractor / seeker.py
index 7872dc80d9d93c20233023c75b75ab94b289b94a..65eb16a09d7b98f5f0918e94829de2db80c4adb4 100644 (file)
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
 import re
 
 from .common import InfoExtractor
@@ -46,7 +43,7 @@ class SeekerIE(InfoExtractor):
     }]
 
     def _real_extract(self, url):
-        display_id, article_id = re.match(self._VALID_URL, url).groups()
+        display_id, article_id = self._match_valid_url(url).groups()
         webpage = self._download_webpage(url, display_id)
         entries = []
         for jwp_id in re.findall(r'data-video-id="([a-zA-Z0-9]{8})"', webpage):