diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-09-25 21:58:45 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-09-25 21:58:45 +0200 |
commit | 4866b72eb2bf5747cde4654e75b1c1be0d456456 (patch) | |
tree | 1668bc69a884f441d4e780d73a303afd0bdd9756 /youtube_dl | |
parent | 2d00be047726086e1deaca1c95dd9367daa85858 (diff) |
[fktv] Don't redefine 'url' in list comprehension
Detected with flake8.
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/fktv.py | 4 |
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, |