mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def _extract_info_dict(self, info, full_title=None, quiet=False):
|
|||
'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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue