aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-17 00:46:38 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-17 00:46:38 +0600
commit1e52776ac3ebbafc2ec4697f3bc6ba05b7e5a9f8 (patch)
treeac1a62199afea3cb53ceed411b0f66000bdbea37 /youtube_dl
parent8daeeedc06f420e2a87ba4755b56e721391cedba (diff)
[bandcamp] Prepend download URL with scheme when necessary (2) (#7077)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bandcamp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py
index a27f3e748..f19e19001 100644
--- a/youtube_dl/extractor/bandcamp.py
+++ b/youtube_dl/extractor/bandcamp.py
@@ -52,7 +52,7 @@ class BandcampIE(InfoExtractor):
ext, abr_str = format_id.split('-', 1)
formats.append({
'format_id': format_id,
- 'url': format_url,
+ 'url': self._proto_relative_url(format_url, 'http:'),
'ext': ext,
'vcodec': 'none',
'acodec': ext,