From: Jaime Marquínez Ferrándiz Date: Fri, 25 Sep 2015 19:58:45 +0000 (+0200) Subject: [fktv] Don't redefine 'url' in list comprehension X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4866b72eb2bf5747cde4654e75b1c1be0d456456;p=youtube-dl [fktv] Don't redefine 'url' in list comprehension Detected with flake8. --- 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']+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,