1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-09 20:39:28 +01:00

[soundcloud] Do not mistake original_format for ext (Fixes #1934)

This commit is contained in:
Philipp Hagemeister 2013-12-10 11:45:13 +01:00
parent 45598aab08
commit 475700acfe

View File

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