[bandcamp] Prepend download URL with scheme when necessary (2) (#7077)

pull/6373/merge
Sergey M․ 9 years ago
parent 8daeeedc06
commit 1e52776ac3

@ -52,7 +52,7 @@ class BandcampIE(InfoExtractor):
ext, abr_str = format_id.split('-', 1) ext, abr_str = format_id.split('-', 1)
formats.append({ formats.append({
'format_id': format_id, 'format_id': format_id,
'url': format_url, 'url': self._proto_relative_url(format_url, 'http:'),
'ext': ext, 'ext': ext,
'vcodec': 'none', 'vcodec': 'none',
'acodec': ext, 'acodec': ext,

Loading…
Cancel
Save