mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 01:25:11 +00:00
[francetv] Fix f4m extraction
This commit is contained in:
parent
1dc31c2786
commit
ecdbe09e10
1 changed files with 1 additions and 2 deletions
|
@ -58,9 +58,8 @@ def _extract_video(self, video_id, catalogue):
|
||||||
# See https://github.com/rg3/youtube-dl/issues/3963
|
# See https://github.com/rg3/youtube-dl/issues/3963
|
||||||
# m3u8 urls work fine
|
# m3u8 urls work fine
|
||||||
continue
|
continue
|
||||||
video_url_parsed = compat_urllib_parse_urlparse(video_url)
|
|
||||||
f4m_url = self._download_webpage(
|
f4m_url = self._download_webpage(
|
||||||
'http://hdfauth.francetv.fr/esi/TA?url=%s' % video_url_parsed.path,
|
'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, video_id, 1, format_id))
|
||||||
|
|
Loading…
Reference in a new issue