1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[francetv] Update f4m manifest token URL (Closes #5981, Closes #5989)

This commit is contained in:
Sergey M․ 2015-06-15 21:30:27 +06:00
parent 02175a7986
commit 99e6833c85

View file

@ -60,7 +60,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
continue continue
video_url_parsed = compat_urllib_parse_urlparse(video_url) video_url_parsed = compat_urllib_parse_urlparse(video_url)
f4m_url = self._download_webpage( f4m_url = self._download_webpage(
'http://hdfauth.francetv.fr/esi/urltokengen2.html?url=%s' % video_url_parsed.path, 'http://hdfauth.francetv.fr/esi/TA?url=%s' % video_url_parsed.path,
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))