X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fcommon.py;h=31368820836f8d5d6f8ae571d508da40940221be;hb=6f4ba54079893a09c6aa78fe3420523fb96df858;hp=4fe99d25de7d615aeca56a1f9608e5053a77d522;hpb=637570326bfa12575fe210e52e2a39d6585891d8;p=youtube-dl diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 4fe99d25d..313688208 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -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 """