]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/lenta.py
[ie/mlbtv] Fix extraction (#10296)
[yt-dlp.git] / yt_dlp / extractor / lenta.py
index 10aac984e4e3be595927a9ba7ef236a506843411..105ec371e0c092f7a823a8d73161c63c82ddfccc 100644 (file)
@@ -2,6 +2,7 @@
 
 
 class LentaIE(InfoExtractor):
+    _WORKING = False
     _VALID_URL = r'https?://(?:www\.)?lenta\.ru/[^/]+/\d+/\d+/\d+/(?P<id>[^/?#&]+)'
     _TESTS = [{
         'url': 'https://lenta.ru/news/2018/03/22/savshenko_go/',
@@ -44,7 +45,7 @@ def _real_extract(self, url):
             default=None)
         if video_id:
             return self.url_result(
-                'eagleplatform:lentaru.media.eagleplatform.com:%s' % video_id,
+                f'eagleplatform:lentaru.media.eagleplatform.com:{video_id}',
                 ie='EaglePlatform', video_id=video_id)
 
         return self.url_result(url, ie='Generic')