7
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 06:15:46 +00:00

[funnyordie] Handle protocol-relative URLs (fixes )

This commit is contained in:
ngld 2015-08-12 16:01:47 +02:00
parent 9f3da13860
commit 1df3186e0e

View File

@ -53,7 +53,7 @@ class FunnyOrDieIE(InfoExtractor):
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,
})