1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-25 09:19:48 +00:00

[extractor/common] Extract HTTP (possibly f4m) URLs from a .smil file

This commit is contained in:
Antti Ajanki 2015-02-22 10:18:36 +02:00
parent 637570326b
commit 6f4ba54079

View file

@ -963,6 +963,14 @@ class InfoExtractor(object):
'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 """