from .common import InfoExtractor
from ..utils import (
- int_or_none,
float_or_none,
+ int_or_none,
unified_strdate,
)
'subtitles': {
'fr': [{
'ext': 'vtt',
- }]
+ }],
},
- }
+ },
}
def _real_extract(self, url):
display_id = mobj.group('display_id')
settings_url = self._download_json(
- 'http://www.pornovoisines.com/api/video/%s/getsettingsurl/' % video_id,
+ f'http://www.pornovoisines.com/api/video/{video_id}/getsettingsurl/',
video_id, note='Getting settings URL')['video_settings_url']
settings = self._download_json(settings_url, video_id)['data']