Browse Source

[fktv] get format_id from video file ext

master
remitamine 9 years ago
parent
commit
3706fb5dc8
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/fktv.py

2
youtube_dl/extractor/fktv.py

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

Loading…
Cancel
Save