diff options
author | remitamine <[email protected]> | 2015-09-26 07:51:11 +0100 |
---|---|---|
committer | remitamine <[email protected]> | 2015-09-26 07:51:11 +0100 |
commit | 3706fb5dc8a38163689a29c7ed2b64f3b3d093e3 (patch) | |
tree | 0a58c5972c5cb5622c65a82005e952ec6025866e | |
parent | 08bea4adde5d5beb5f2a5cc875216b4205b90d50 (diff) | |
download | youtube-dl-3706fb5dc8a38163689a29c7ed2b64f3b3d093e3.tar.gz youtube-dl-3706fb5dc8a38163689a29c7ed2b64f3b3d093e3.zip |
[fktv] get format_id from video file ext
-rw-r--r-- | youtube_dl/extractor/fktv.py | 2 |
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, |