projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1525148
)
[pornhd] Avoid shadowing variable url
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Apr 2014 20:22:30 +0000
(22:22 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 4 Apr 2014 20:22:30 +0000
(22:22 +0200)
youtube_dl/extractor/pornhd.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pornhd.py
b/youtube_dl/extractor/pornhd.py
index 42b852566d95e52f7f5f271faa96efa8c1e640ea..718fe9aba5fc710ee5efc47c2bbae2b02fc3c117 100644
(file)
--- 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)
]