This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[fktv] Don't redefine 'url' in list comprehension
Detected with flake8.
totalwebcasting
Jaime Marquínez Ferrándiz
9 years ago
parent
2d00be0477
commit
4866b72eb2
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
youtube_dl/extractor/fktv.py
+ 2
- 2
youtube_dl/extractor/fktv.py
View File
@ -44,9 +44,9 @@ class FKTVIE(InfoExtractor):
urls
=
re
.
findall
(
r
'
<source[^>]+src=
"
([^
"
]+)
"
'
,
sources
)
formats
=
[
{
'
url
'
:
url
,
'
url
'
:
f
url
,
'
format_id
'
:
determine_ext
(
url
)
,
}
for
url
in
urls
]
}
for
f
url
in
urls
]
return
{
'
id
'
:
episode
,
'
title
'
:
title
,
Write
Preview
Loading…
Cancel
Save