import re
from .common import InfoExtractor
-from ..utils import ExtractorError
from .rutv import RUTVIE
+from ..utils import ExtractorError
class VestiIE(InfoExtractor):
# rtmp download
'skip_download': True,
},
- 'skip': 'Translation has finished'
+ 'skip': 'Translation has finished',
},
]
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)