aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2015-08-12 23:23:35 +0600
committerSergey M. <dstftw@gmail.com>2015-08-12 23:23:35 +0600
commit479bf783d2d90c303e6b152e5e697265832747d2 (patch)
treed4c395e0553c45383105ae0b6b7c8cc458712087 /youtube_dl
parentf57b7835e21b00a1b2205b4bcfba50c630ff68b4 (diff)
parent1df3186e0e2c49993f4230ec77a9de351177b271 (diff)
downloadyoutube-dl-479bf783d2d90c303e6b152e5e697265832747d2.tar.xz
Merge pull request #6539 from ngld/fix-funnyordie
[funnyordie] Handle protocol-relative URLs (fixes #6490)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/funnyordie.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py
index dd87257c4..f5f13689c 100644
--- a/youtube_dl/extractor/funnyordie.py
+++ b/youtube_dl/extractor/funnyordie.py
@@ -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,
})