From: Philipp Hagemeister Date: Fri, 4 Apr 2014 20:22:30 +0000 (+0200) Subject: [pornhd] Avoid shadowing variable url X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3b4c26a4286451ca0236245fe42ae9e8b9aafff8;p=youtube-dl [pornhd] Avoid shadowing variable url --- diff --git a/youtube_dl/extractor/pornhd.py b/youtube_dl/extractor/pornhd.py index 42b852566..718fe9aba 100644 --- a/youtube_dl/extractor/pornhd.py +++ b/youtube_dl/extractor/pornhd.py @@ -39,11 +39,11 @@ class PornHdIE(InfoExtractor): formats = [ { - 'url': url, + 'url': format_url, 'ext': format.lower(), 'format_id': '%s-%s' % (format.lower(), quality.lower()), 'quality': 1 if quality.lower() == 'high' else 0, - } for format, quality, url in re.findall( + } for format, quality, format_url in re.findall( r'var __video([\da-zA-Z]+?)(Low|High)StreamUrl = \'(http://.+?)\?noProxy=1\'', webpage) ]