1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:42:52 +08:00

Merge pull request #6978 from remitamine/fktv

[fktv] get format_id from video file ext
This commit is contained in:
Sergey M. 2015-09-26 13:01:21 +06:00
commit a82ba8d0ce

View File

@ -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,