aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-09-26 07:51:11 +0100
committerremitamine <remitamine@gmail.com>2015-09-26 07:51:11 +0100
commit3706fb5dc8a38163689a29c7ed2b64f3b3d093e3 (patch)
tree0a58c5972c5cb5622c65a82005e952ec6025866e /youtube_dl
parent08bea4adde5d5beb5f2a5cc875216b4205b90d50 (diff)
[fktv] get format_id from video file ext
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/fktv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/fktv.py b/youtube_dl/extractor/fktv.py
index fb9739b49..40ea27895 100644
--- 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(furl),
} for furl in urls]
return {
'id': episode,