X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Ffunnyordie.py;h=f5f13689c0a8310d0e241f0cd24617d90799c701;hb=1806a75415a3b62b07ab3fd282f915c6af14dfd3;hp=a49fc1151cf324f5e4b61cbd4f1d586718410626;hpb=11b28e93d3a5496916e55a717c362fe7a6a1c7e7;p=youtube-dl.git diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py index a49fc1151..f5f13689c 100644 --- a/youtube_dl/extractor/funnyordie.py +++ b/youtube_dl/extractor/funnyordie.py @@ -50,15 +50,21 @@ class FunnyOrDieIE(InfoExtractor): bitrates.sort() formats = [] - for bitrate in bitrates: for link in links: formats.append({ - 'url': '%s%d.%s' % (link[0], bitrate, link[1]), + 'url': self._proto_relative_url('%s%d.%s' % (link[0], bitrate, link[1])), 'format_id': '%s-%d' % (link[1], bitrate), 'vbr': bitrate, }) + subtitles = {} + for src, src_lang in re.findall(r'