diff options
author | Sergey M. <dstftw@gmail.com> | 2015-08-12 23:23:35 +0600 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2015-08-12 23:23:35 +0600 |
commit | 479bf783d2d90c303e6b152e5e697265832747d2 (patch) | |
tree | d4c395e0553c45383105ae0b6b7c8cc458712087 | |
parent | f57b7835e21b00a1b2205b4bcfba50c630ff68b4 (diff) | |
parent | 1df3186e0e2c49993f4230ec77a9de351177b271 (diff) |
Merge pull request #6539 from ngld/fix-funnyordie
[funnyordie] Handle protocol-relative URLs (fixes #6490)
-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, }) |