]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[soundcloud] Extract AAC format
authortom <tomster954@gmail.com>
Thu, 9 Apr 2020 11:50:45 +0000 (21:50 +1000)
committerSergey M․ <dstftw@gmail.com>
Fri, 10 Apr 2020 10:25:04 +0000 (17:25 +0700)
youtube_dl/extractor/soundcloud.py

index ff6be0b545a79260341ec25e6059d306fe859ef8..02d56184dd91cfacbfe2fa506bce2d2c9d576805 100644 (file)
@@ -350,6 +350,8 @@ class SoundcloudIE(InfoExtractor):
             format_id_list = []
             if protocol:
                 format_id_list.append(protocol)
+            if f.get('ext') == 'aac':
+                f['abr'] = '256'
             for k in ('ext', 'abr'):
                 v = f.get(k)
                 if v: