]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/vesti.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / yt_dlp / extractor / vesti.py
index e9731a94152ed9ce9d9cfec655bdc1c9e465e27f..844041a61abc8da8cb84e014cb8165ebc11e1ea0 100644 (file)
@@ -1,11 +1,12 @@
 import re
 
 from .common import InfoExtractor
-from ..utils import ExtractorError
 from .rutv import RUTVIE
+from ..utils import ExtractorError
 
 
 class VestiIE(InfoExtractor):
+    _WORKING = False
     IE_DESC = 'Вести.Ru'
     _VALID_URL = r'https?://(?:.+?\.)?vesti\.ru/(?P<id>.+)'
 
@@ -93,7 +94,7 @@ class VestiIE(InfoExtractor):
                 # rtmp download
                 'skip_download': True,
             },
-            'skip': 'Translation has finished'
+            'skip': 'Translation has finished',
         },
     ]
 
@@ -108,7 +109,7 @@ def _real_extract(self, url):
             page)
         if mobj:
             video_id = mobj.group('id')
-            page = self._download_webpage('http://www.vesti.ru/only_video.html?vid=%s' % video_id, video_id,
+            page = self._download_webpage(f'http://www.vesti.ru/only_video.html?vid={video_id}', video_id,
                                           'Downloading video page')
 
         rutv_url = RUTVIE._extract_url(page)