From: remitamine Date: Sat, 26 Sep 2015 06:51:11 +0000 (+0100) Subject: [fktv] get format_id from video file ext X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3706fb5dc8a38163689a29c7ed2b64f3b3d093e3;p=youtube-dl [fktv] get format_id from video file ext --- 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,