[bandcamp] Detect acodec

This commit is contained in:
pukkandan 2022-03-04 19:42:11 +05:30
parent a10aa588b0
commit 933dbf5a55
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -183,6 +183,7 @@ def _real_extract(self, url):
'format_note': f.get('description'),
'filesize': parse_filesize(f.get('size_mb')),
'vcodec': 'none',
'acodec': format_id.split('-')[0],
})
self._sort_formats(formats)