1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-04 00:55:15 +00:00

[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

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: