]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/espn.py
[compat] Remove deprecated functions from core code
[yt-dlp.git] / yt_dlp / extractor / espn.py
index 44e0c0989db5e6287a7b950f5c5447c2361875f4..451148636daacc2489ba2752543506130ebd563b 100644 (file)
@@ -3,8 +3,8 @@
 import re
 import urllib.parse
 
-from .common import InfoExtractor
 from .adobepass import AdobePassIE
+from .common import InfoExtractor
 from .once import OnceIE
 from ..utils import (
     determine_ext,
@@ -197,7 +197,7 @@ class ESPNArticleIE(InfoExtractor):
 
     @classmethod
     def suitable(cls, url):
-        return False if (ESPNIE.suitable(url) or WatchESPNIE.suitable(url)) else super(ESPNArticleIE, cls).suitable(url)
+        return False if (ESPNIE.suitable(url) or WatchESPNIE.suitable(url)) else super().suitable(url)
 
     def _real_extract(self, url):
         video_id = self._match_id(url)