pull/13974/merge
qbnu 13 hours ago committed by GitHub
commit afdc3f0650
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -276,9 +276,10 @@ class SoundcloudBaseIE(InfoExtractor):
if urlh: if urlh:
format_url = urlh.url format_url = urlh.url
format_urls.add(format_url) format_urls.add(format_url)
ext = urlh.headers.get('x-amz-meta-file-type') or urlhandle_detect_ext(urlh)
formats.append({ formats.append({
'format_id': 'download', 'format_id': 'download',
'ext': urlhandle_detect_ext(urlh), 'ext': ext,
'filesize': int_or_none(urlh.headers.get('Content-Length')), 'filesize': int_or_none(urlh.headers.get('Content-Length')),
'url': format_url, 'url': format_url,
'quality': 10, 'quality': 10,

Loading…
Cancel
Save