diff options
author | ngld <ngld@tproxy.de> | 2015-08-12 16:01:47 +0200 |
---|---|---|
committer | ngld <ngld@tproxy.de> | 2015-08-12 16:01:47 +0200 |
commit | 1df3186e0e2c49993f4230ec77a9de351177b271 (patch) | |
tree | 8d8a6b4dd4a1443280c459e4fae99b5b71fb9c43 /youtube_dl/extractor/funnyordie.py | |
parent | 9f3da138606773339de9accc2bc6522ea88185fe (diff) |
[funnyordie] Handle protocol-relative URLs (fixes #6490)
Diffstat (limited to 'youtube_dl/extractor/funnyordie.py')
-rw-r--r-- | youtube_dl/extractor/funnyordie.py | 2 |
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, }) |