1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-04 17:34:32 +01:00

[soundcloud] Extract AAC format

This commit is contained in:
tom 2020-04-09 21:50:45 +10:00 committed by Sergey M․
parent 6b09401b0b
commit b9e5f87291
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -350,6 +350,8 @@ class SoundcloudIE(InfoExtractor):
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: