projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08bea4a
)
[fktv] get format_id from video file ext
author
remitamine
<remitamine@gmail.com>
Sat, 26 Sep 2015 06:51:11 +0000
(07:51 +0100)
committer
remitamine
<remitamine@gmail.com>
Sat, 26 Sep 2015 06:51:11 +0000
(07:51 +0100)
youtube_dl/extractor/fktv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/fktv.py
b/youtube_dl/extractor/fktv.py
index fb9739b49d041cc0b555566aebfa1f21ed35923c..40ea2789525ab720beb9e6e42a096682a9581027 100644
(file)
--- a/
youtube_dl/extractor/fktv.py
+++ b/
youtube_dl/extractor/fktv.py
@@
-45,7
+45,7
@@
class FKTVIE(InfoExtractor):
urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
formats = [{
'url': furl,
- 'format_id': determine_ext(url),
+ 'format_id': determine_ext(
f
url),
} for furl in urls]
return {
'id': episode,