Merge branch 'master' into rtmpdump
[youtube-dl] / youtube_dl / extractor / soundcloud.py
index 4717fbb77e0ec21a26147b25d9cc3be2f83d9f94..83e1f055f80efa05d8db33d296fd4554466a24ad 100644 (file)
@@ -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,
         }