]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[fktv] Don't redefine 'url' in list comprehension
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 25 Sep 2015 19:58:45 +0000 (21:58 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 25 Sep 2015 19:58:45 +0000 (21:58 +0200)
Detected with flake8.

youtube_dl/extractor/fktv.py

index d9fc9952d9eab6157a1a76dd3e1397c9d54e464c..fb9739b49d041cc0b555566aebfa1f21ed35923c 100644 (file)
@@ -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,