mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 06:09:17 +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 @@ 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