Browse Source

[fktv] Don't redefine 'url' in list comprehension

Detected with flake8.
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
4866b72eb2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      youtube_dl/extractor/fktv.py

+ 2 - 2
youtube_dl/extractor/fktv.py

@@ -44,9 +44,9 @@ class FKTVIE(InfoExtractor):
 
         urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
         formats = [{
-            'url': url,
+            'url': furl,
             'format_id': determine_ext(url),
-        } for url in urls]
+        } for furl in urls]
         return {
             'id': episode,
             'title': title,