1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

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

This commit is contained in:
Sergey M․ 2015-10-17 00:46:38 +06:00
parent 8daeeedc06
commit 1e52776ac3

View File

@ -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,