]> jfr.im git - yt-dlp.git/commitdiff
[bandcamp] Detect acodec
authorpukkandan <redacted>
Fri, 4 Mar 2022 14:12:11 +0000 (19:42 +0530)
committerpukkandan <redacted>
Fri, 4 Mar 2022 14:19:38 +0000 (19:49 +0530)
yt_dlp/extractor/bandcamp.py

index 42223dab72017cfb1f4ca3ac6a7a6542f7b0f555..745055e2d52079803f213077995f1c8c65543d15 100644 (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)