summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2015-09-25 21:58:45 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2015-09-25 21:58:45 +0200
commit4866b72eb2bf5747cde4654e75b1c1be0d456456 (patch)
tree1668bc69a884f441d4e780d73a303afd0bdd9756
parent2d00be047726086e1deaca1c95dd9367daa85858 (diff)
downloadyoutube-dl-4866b72eb2bf5747cde4654e75b1c1be0d456456.tar.gz
youtube-dl-4866b72eb2bf5747cde4654e75b1c1be0d456456.zip
[fktv] Don't redefine 'url' in list comprehension
Detected with flake8.
-rw-r--r--youtube_dl/extractor/fktv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/fktv.py b/youtube_dl/extractor/fktv.py
index d9fc9952d..fb9739b49 100644
--- a/youtube_dl/extractor/fktv.py
+++ b/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,