[ie/soundcloud] Fix extraction (#11777)

Authored by: bashonly
This commit is contained in:
bashonly 2024-12-12 13:39:38 +00:00 committed by GitHub
parent 6fef824025
commit f4d3e9e6dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,6 +259,8 @@ class SoundcloudBaseIE(InfoExtractor):
preset_base = preset.partition('_')[0]
protocol = traverse_obj(t, ('format', 'protocol', {str})) or 'http'
if protocol.startswith(('ctr-', 'cbc-')):
continue
if protocol == 'progressive':
protocol = 'http'
if protocol != 'hls' and '/hls' in format_url: