[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
1 changed files with 2 additions and 0 deletions

View File

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