Merge pull request #6539 from ngld/fix-funnyordie

[funnyordie] Handle protocol-relative URLs (fixes #6490)
pull/8/head
Sergey M. 9 years ago
commit 479bf783d2

@ -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,
})

Loading…
Cancel
Save