1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-30 05:01:21 +02: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 @@ def _real_extract(self, url):
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,