mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 19:29:51 +01:00
[bandcamp] Detect acodec
This commit is contained in:
parent
a10aa588b0
commit
933dbf5a55
@ -183,6 +183,7 @@ def _real_extract(self, url):
|
|||||||
'format_note': f.get('description'),
|
'format_note': f.get('description'),
|
||||||
'filesize': parse_filesize(f.get('size_mb')),
|
'filesize': parse_filesize(f.get('size_mb')),
|
||||||
'vcodec': 'none',
|
'vcodec': 'none',
|
||||||
|
'acodec': format_id.split('-')[0],
|
||||||
})
|
})
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
Loading…
Reference in New Issue
Block a user