|
|
@ -85,9 +85,9 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
subtitles = {}
|
|
|
|
subtitles = {}
|
|
|
|
subtitles_list = [{
|
|
|
|
subtitles_list = [{
|
|
|
|
'url': subtitle['url'],
|
|
|
|
'url': subformat['url'],
|
|
|
|
'ext': subtitle.get('format'),
|
|
|
|
'ext': subformat.get('format'),
|
|
|
|
} for subtitle in info.get('subtitles', []) if subtitle.get('url')]
|
|
|
|
} for subformat in info.get('subtitles', []) if subformat.get('url')]
|
|
|
|
if subtitles_list:
|
|
|
|
if subtitles_list:
|
|
|
|
subtitles['fr'] = subtitles_list
|
|
|
|
subtitles['fr'] = subtitles_list
|
|
|
|
|
|
|
|
|
|
|
@ -118,7 +118,7 @@ class PluzzIE(FranceTVBaseInfoExtractor):
|
|
|
|
'id_video', webpage, 'video id', default=None)
|
|
|
|
'id_video', webpage, 'video id', default=None)
|
|
|
|
if not video_id:
|
|
|
|
if not video_id:
|
|
|
|
video_id = self._search_regex(
|
|
|
|
video_id = self._search_regex(
|
|
|
|
r'data-diffusion=["\'](\d+)', webpage, 'video id')
|
|
|
|
r'data-diffusion=["\'](\d+)', webpage, 'video id')
|
|
|
|
|
|
|
|
|
|
|
|
return self._extract_video(video_id, 'Pluzz')
|
|
|
|
return self._extract_video(video_id, 'Pluzz')
|
|
|
|
|
|
|
|
|
|
|
|