From 4958ae205873980189793885824418533cd27041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 28 Jul 2014 15:21:05 +0200 Subject: [PATCH] [francetv] Fix wrong variable name --- youtube_dl/extractor/francetv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []