mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 14:45:52 +01:00
[extractor/common] Extract HTTP (possibly f4m) URLs from a .smil file
This commit is contained in:
parent
637570326b
commit
6f4ba54079
@ -963,6 +963,14 @@ def _parse_smil_video(self, video, base, rtmp_count):
|
||||
'width': width,
|
||||
'height': height,
|
||||
}], rtmp_count)
|
||||
elif proto.startswith('http'):
|
||||
return ([{
|
||||
'url': base + src,
|
||||
'ext': ext or 'flv',
|
||||
'tbr': bitrate,
|
||||
'width': width,
|
||||
'height': height,
|
||||
}], rtmp_count)
|
||||
|
||||
def _live_title(self, name):
|
||||
""" Generate the title for a live video """
|
||||
|
Loading…
Reference in New Issue
Block a user