From: Sergey M․ Date: Fri, 16 Oct 2015 18:46:38 +0000 (+0600) Subject: [bandcamp] Prepend download URL with scheme when necessary (2) (#7077) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1e52776ac3ebbafc2ec4697f3bc6ba05b7e5a9f8;p=youtube-dl [bandcamp] Prepend download URL with scheme when necessary (2) (#7077) --- 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,