Browse Source

[funnyordie] Handle protocol-relative URLs (fixes #6490)

totalwebcasting
ngld 10 years ago
parent
commit
1df3186e0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/funnyordie.py

+ 1
- 1
youtube_dl/extractor/funnyordie.py 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,
})


Loading…
Cancel
Save