class GazetaIE(InfoExtractor):
+ _WORKING = False
_VALID_URL = r'(?P<url>https?://(?:www\.)?gazeta\.ru/(?:[^/]+/)?video/(?:main/)*(?:\d{4}/\d{2}/\d{2}/)?(?P<id>[A-Za-z0-9-_.]+)\.s?html)'
_TESTS = [{
'url': 'http://www.gazeta.ru/video/main/zadaite_vopros_vladislavu_yurevichu.shtml',
mobj = self._match_valid_url(url)
display_id = mobj.group('id')
- embed_url = '%s?p=embed' % mobj.group('url')
+ embed_url = '{}?p=embed'.format(mobj.group('url'))
embed_page = self._download_webpage(
embed_url, display_id, 'Downloading embed page')
r'<div[^>]*?class="eagleplayer"[^>]*?data-id="([^"]+)"', embed_page, 'video id')
return self.url_result(
- 'eagleplatform:gazeta.media.eagleplatform.com:%s' % video_id, 'EaglePlatform')
+ f'eagleplatform:gazeta.media.eagleplatform.com:{video_id}', 'EaglePlatform')