mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
[pornhd] Avoid shadowing variable url
This commit is contained in:
parent
1525148114
commit
3b4c26a428
@ -39,11 +39,11 @@ def _real_extract(self, url):
|
||||
|
||||
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)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user