mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-10 11:31:19 +00:00
Merge pull request #6539 from ngld/fix-funnyordie
[funnyordie] Handle protocol-relative URLs (fixes #6490)
This commit is contained in:
commit
479bf783d2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue