mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-09 02:13:47 +00:00
[ie/soundcloud] Fix extension fallback
This commit is contained in:
parent
680c2fc30e
commit
6bfe16afa3
@ -241,7 +241,7 @@ class SoundcloudBaseIE(InfoExtractor):
|
||||
format_urls.add(format_url)
|
||||
formats.append({
|
||||
'format_id': 'download',
|
||||
'ext': urlhandle_detect_ext(urlh) or 'mp3',
|
||||
'ext': urlhandle_detect_ext(urlh, default='mp3'),
|
||||
'filesize': int_or_none(urlh.headers.get('Content-Length')),
|
||||
'url': format_url,
|
||||
'quality': 10,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user