1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

[soundcloud] added support for aac streams

This commit is contained in:
tom 2020-04-09 21:50:45 +10:00
parent 5caf88ccb4
commit 8dac2cdf5c

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: