]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[francetv] Fix f4m extraction
authorSergey M․ <dstftw@gmail.com>
Sun, 19 Jul 2015 15:45:49 +0000 (21:45 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 19 Jul 2015 15:45:49 +0000 (21:45 +0600)
youtube_dl/extractor/francetv.py

index 477e227937d0d12fadbfe15d71da840a97b7da36..624895ff97bd44b8ed85f9975c1dddb19135cf55 100644 (file)
@@ -58,9 +58,8 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
                     # See https://github.com/rg3/youtube-dl/issues/3963
                     # m3u8 urls work fine
                     continue
-                video_url_parsed = compat_urllib_parse_urlparse(video_url)
                 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)
                 if f4m_url:
                     formats.extend(self._extract_f4m_formats(f4m_url, video_id, 1, format_id))