From: Jaime Marquínez Ferrándiz Date: Mon, 28 Jul 2014 13:21:05 +0000 (+0200) Subject: [francetv] Fix wrong variable name X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4958ae205873980189793885824418533cd27041;p=youtube-dl [francetv] Fix wrong variable name --- diff --git a/youtube_dl/extractor/francetv.py b/youtube_dl/extractor/francetv.py index 9e2a93871..1b0e8e5d5 100644 --- a/youtube_dl/extractor/francetv.py +++ b/youtube_dl/extractor/francetv.py @@ -21,7 +21,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor): manifest_url = info.find('videos/video/url').text manifest_url = manifest_url.replace('/z/', '/i/') - if url.startswith('rtmp'): + if manifest_url.startswith('rtmp'): formats = [{'url': manifest_url, 'ext': 'flv'}] else: formats = []