Merge pull request #1110 from gpodder/fix-missing-audio_webm

Fix missing extension when downloading youtube-dl format=worstaudio (audio/webm mimetype)
This commit is contained in:
Eric Le Lay 2021-08-11 18:20:42 +02:00 committed by GitHub
commit 71f8ee70b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ _MIME_TYPE_LIST = [
('.wmv', 'video/x-ms-wmv'),
('.opus', 'audio/opus'),
('.webm', 'video/webm'),
('.webm', 'audio/webm'),
]
_MIME_TYPES = dict((k, v) for v, k in _MIME_TYPE_LIST)