mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[fktv] Don't redefine 'url' in list comprehension
Detected with flake8.
This commit is contained in:
parent
2d00be0477
commit
4866b72eb2
1 changed files with 2 additions and 2 deletions
|
@ -44,9 +44,9 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
|
urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
|
||||||
formats = [{
|
formats = [{
|
||||||
'url': url,
|
'url': furl,
|
||||||
'format_id': determine_ext(url),
|
'format_id': determine_ext(url),
|
||||||
} for url in urls]
|
} for furl in urls]
|
||||||
return {
|
return {
|
||||||
'id': episode,
|
'id': episode,
|
||||||
'title': title,
|
'title': title,
|
||||||
|
|
Loading…
Reference in a new issue