1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-07-17 18:58:35 +00:00

[ie/soundcloud] Always extract original format extension

Authored by: bashonly
This commit is contained in:
bashonly 2025-07-16 16:43:59 -05:00
parent 3a84be9d16
commit 87109ccd0e
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -242,7 +242,7 @@ def _extract_info_dict(self, info, full_title=None, secret_token=None, extract_f
format_urls.add(format_url)
formats.append({
'format_id': 'download',
'ext': urlhandle_detect_ext(urlh, default='mp3'),
'ext': urlhandle_detect_ext(urlh),
'filesize': int_or_none(urlh.headers.get('Content-Length')),
'url': format_url,
'quality': 10,