1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 19:36:50 +01:00

[fktv] get format_id from video file ext

This commit is contained in:
remitamine 2015-09-26 07:51:11 +01:00
parent 08bea4adde
commit 3706fb5dc8

View File

@ -45,7 +45,7 @@ class FKTVIE(InfoExtractor):
urls = re.findall(r'<source[^>]+src="([^"]+)"', sources) urls = re.findall(r'<source[^>]+src="([^"]+)"', sources)
formats = [{ formats = [{
'url': furl, 'url': furl,
'format_id': determine_ext(url), 'format_id': determine_ext(furl),
} for furl in urls] } for furl in urls]
return { return {
'id': episode, 'id': episode,