From 3706fb5dc8a38163689a29c7ed2b64f3b3d093e3 Mon Sep 17 00:00:00 2001 From: remitamine Date: Sat, 26 Sep 2015 07:51:11 +0100 Subject: [PATCH] [fktv] get format_id from video file ext --- youtube_dl/extractor/fktv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']+src="([^"]+)"', sources) formats = [{ 'url': furl, - 'format_id': determine_ext(url), + 'format_id': determine_ext(furl), } for furl in urls] return { 'id': episode, -- 2.22.2