From 933dbf5a558602278a79d55fe1aaf8f66ea54e6b Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 4 Mar 2022 19:42:11 +0530 Subject: [PATCH] [bandcamp] Detect acodec --- yt_dlp/extractor/bandcamp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/bandcamp.py b/yt_dlp/extractor/bandcamp.py index 42223dab7..745055e2d 100644 --- a/yt_dlp/extractor/bandcamp.py +++ b/yt_dlp/extractor/bandcamp.py @@ -183,6 +183,7 @@ class BandcampIE(InfoExtractor): 'format_note': f.get('description'), 'filesize': parse_filesize(f.get('size_mb')), 'vcodec': 'none', + 'acodec': format_id.split('-')[0], }) self._sort_formats(formats)