mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 12:53:18 +00:00
[fktv] get format_id from video file ext
This commit is contained in:
parent
08bea4adde
commit
3706fb5dc8
|
@ -45,7 +45,7 @@ def _real_extract(self, url):
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue