aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/soundcloud.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-11-15 01:46:50 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-11-15 01:46:50 +0100
commit0e145dd541884a5beb7974962378a400da7a7bf3 (patch)
tree31dd6fabdc8d46362085262a4b8be91052b492a5 /youtube_dl/extractor/soundcloud.py
parent9f9be844fcc5155ab3e832c8428c8f016bea819b (diff)
parente3b9ab5e187a590143f7f6110e55d43fb78f15bc (diff)
Merge branch 'master' of github.com:rg3/youtube-dl
Diffstat (limited to 'youtube_dl/extractor/soundcloud.py')
-rw-r--r--youtube_dl/extractor/soundcloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index 4717fbb77..83e1f055f 100644
--- a/youtube_dl/extractor/soundcloud.py
+++ b/youtube_dl/extractor/soundcloud.py
@@ -87,7 +87,7 @@ class SoundcloudIE(InfoExtractor):
'uploader': info['user']['username'],
'upload_date': unified_strdate(info['created_at']),
'title': info['title'],
- 'ext': u'mp3',
+ 'ext': info.get('original_format', u'mp3'),
'description': info['description'],
'thumbnail': thumbnail,
}