[francetv] Fix f4m extraction completely
This commit is contained in:
parent
789a12aaaf
commit
632cbb8efa
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
|
||||||
'http://hdfauth.francetv.fr/esi/TA?url=%s' % video_url,
|
'http://hdfauth.francetv.fr/esi/TA?url=%s' % video_url,
|
||||||
video_id, 'Downloading f4m manifest token', fatal=False)
|
video_id, 'Downloading f4m manifest token', fatal=False)
|
||||||
if f4m_url:
|
if f4m_url:
|
||||||
formats.extend(self._extract_f4m_formats(f4m_url, video_id, 1, format_id))
|
formats.extend(self._extract_f4m_formats(
|
||||||
|
f4m_url + '&hdcore=3.7.0&plugin=aasp-3.7.0.39.44', video_id, 1, format_id))
|
||||||
elif ext == 'm3u8':
|
elif ext == 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(video_url, video_id, 'mp4', m3u8_id=format_id))
|
formats.extend(self._extract_m3u8_formats(video_url, video_id, 'mp4', m3u8_id=format_id))
|
||||||
elif video_url.startswith('rtmp'):
|
elif video_url.startswith('rtmp'):
|
||||||
|
|
Loading…
Reference in a new issue