[soundcloud] Do not mistake original_format for ext (Fixes #1934)
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Dec 2013 10:45:13 +0000 (11:45 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 10 Dec 2013 10:45:13 +0000 (11:45 +0100)
youtube_dl/extractor/soundcloud.py

index 5c026c0b8f914ed014b9dceb0816d741a7cfddb0..cc5f14593386562afc000963d30a243e7edb1367 100644 (file)
@@ -99,7 +99,7 @@ class SoundcloudIE(InfoExtractor):
         thumbnail = info['artwork_url']
         if thumbnail is not None:
             thumbnail = thumbnail.replace('-large', '-t500x500')
-        ext = info.get('original_format', u'mp3')
+        ext = u'mp3'
         result = {
             'id': track_id,
             'uploader': info['user']['username'],