mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 01:25:11 +00:00
[soundcloud] Extract AAC format
This commit is contained in:
parent
6b09401b0b
commit
b9e5f87291
1 changed files with 2 additions and 0 deletions
|
@ -350,6 +350,8 @@ def add_format(f, protocol, is_preview=False):
|
||||||
format_id_list = []
|
format_id_list = []
|
||||||
if protocol:
|
if protocol:
|
||||||
format_id_list.append(protocol)
|
format_id_list.append(protocol)
|
||||||
|
if f.get('ext') == 'aac':
|
||||||
|
f['abr'] = '256'
|
||||||
for k in ('ext', 'abr'):
|
for k in ('ext', 'abr'):
|
||||||
v = f.get(k)
|
v = f.get(k)
|
||||||
if v:
|
if v:
|
||||||
|
|
Loading…
Reference in a new issue