mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-17 05:10:01 +00:00
Merge pull request #19 from tfvlrue/master
[soundcloud] Resolve audio/x-wav
This commit is contained in:
commit
fbfeb7c74a
1 changed files with 1 additions and 0 deletions
|
@ -4173,6 +4173,7 @@ def mimetype2ext(mt):
|
|||
# Per RFC 3003, audio/mpeg can be .mp1, .mp2 or .mp3. Here use .mp3 as
|
||||
# it's the most popular one
|
||||
'audio/mpeg': 'mp3',
|
||||
'audio/x-wav': 'wav',
|
||||
}.get(mt)
|
||||
if ext is not None:
|
||||
return ext
|
||||
|
|
Loading…
Reference in a new issue