summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M. <[email protected]>2015-09-26 13:01:21 +0600
committerSergey M. <[email protected]>2015-09-26 13:01:21 +0600
commita82ba8d0ce8cf5daee9acff7a9f4a7238b2f1113 (patch)
tree0a58c5972c5cb5622c65a82005e952ec6025866e
parent08bea4adde5d5beb5f2a5cc875216b4205b90d50 (diff)
parent3706fb5dc8a38163689a29c7ed2b64f3b3d093e3 (diff)
downloadyoutube-dl-a82ba8d0ce8cf5daee9acff7a9f4a7238b2f1113.tar.gz
youtube-dl-a82ba8d0ce8cf5daee9acff7a9f4a7238b2f1113.zip
Merge pull request #6978 from remitamine/fktv
[fktv] get format_id from video file ext
-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,