[francetv] Update f4m manifest token URL (Closes #5981, Closes #5989)
authorSergey M․ <dstftw@gmail.com>
Mon, 15 Jun 2015 15:30:27 +0000 (21:30 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 15 Jun 2015 15:30:27 +0000 (21:30 +0600)
youtube_dl/extractor/francetv.py

index edf555b2987520618b70bf8bd423c5fc1f60e5a9..db0bbec1ec1338e3aeaaa26af19cc0612372995f 100644 (file)
@@ -60,7 +60,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
                     continue
                 video_url_parsed = compat_urllib_parse_urlparse(video_url)
                 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)
                 if f4m_url:
                     formats.extend(self._extract_f4m_formats(f4m_url, video_id, 1, format_id))