aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-04 22:22:30 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-04 22:22:30 +0200
commit3b4c26a4286451ca0236245fe42ae9e8b9aafff8 (patch)
tree745176edabeec507e4376400f87d76c44254f1fc /youtube_dl/extractor
parent152514811429b393be22e15742aa8ba1498d739c (diff)
[pornhd] Avoid shadowing variable url
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pornhd.py4
1 files changed, 2 insertions, 2 deletions
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)
]