mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-14 01:07:14 +00:00
Merge pull request #6978 from remitamine/fktv
[fktv] get format_id from video file ext
This commit is contained in:
commit
a82ba8d0ce
@ -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…
Reference in New Issue
Block a user