projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3da13
)
[funnyordie] Handle protocol-relative URLs (fixes #6490)
author
ngld
<ngld@tproxy.de>
Wed, 12 Aug 2015 14:01:47 +0000
(16:01 +0200)
committer
ngld
<ngld@tproxy.de>
Wed, 12 Aug 2015 14:01:47 +0000
(16:01 +0200)
youtube_dl/extractor/funnyordie.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/funnyordie.py
b/youtube_dl/extractor/funnyordie.py
index dd87257c465983dcda30a6faf5dbd7bc0950560c..f5f13689c0a8310d0e241f0cd24617d90799c701 100644
(file)
--- 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,
})