mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-27 12:02:51 +08:00
[soundlcoud] Set the correct extension for the tracks (fixes #1766)
Some tracks are not in mp3 format, they can be wav files.
This commit is contained in:
parent
c66d2baa9c
commit
e3b9ab5e18
@ -87,7 +87,7 @@ class SoundcloudIE(InfoExtractor):
|
|||||||
'uploader': info['user']['username'],
|
'uploader': info['user']['username'],
|
||||||
'upload_date': unified_strdate(info['created_at']),
|
'upload_date': unified_strdate(info['created_at']),
|
||||||
'title': info['title'],
|
'title': info['title'],
|
||||||
'ext': u'mp3',
|
'ext': info.get('original_format', u'mp3'),
|
||||||
'description': info['description'],
|
'description': info['description'],
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user