Skip to content

Commit

Permalink
[ie/soundcloud] Fix extraction
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Dec 9, 2024
1 parent 6fef824 commit 8b932cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt_dlp/extractor/soundcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def invalid_url(url):
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:
Expand Down

0 comments on commit 8b932cd

Please sign in to comment.