From 6d41aaf21c61a87e74564646abd0a8ee887e888d Mon Sep 17 00:00:00 2001 From: sepro Date: Sun, 12 Oct 2025 22:21:34 +0200 Subject: [PATCH] [ie/soundcloud] Support new API URLs (#14449) Closes #14443 Authored by: seproDev --- yt_dlp/extractor/soundcloud.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/soundcloud.py b/yt_dlp/extractor/soundcloud.py index 2cc98c66ce..7833081bfa 100644 --- a/yt_dlp/extractor/soundcloud.py +++ b/yt_dlp/extractor/soundcloud.py @@ -438,7 +438,7 @@ class SoundcloudIE(SoundcloudBaseIE): (?P[\w\d-]+) (?:/(?P<token>(?!(?:albums|sets|recommended))[^?]+?))? (?:[?].*)?$) - |(?:api(?:-v2)?\.soundcloud\.com/tracks/(?P<track_id>\d+) + |(?:api(?:-v2)?\.soundcloud\.com/tracks/(?:soundcloud%3Atracks%3A)?(?P<track_id>\d+) (?:/?\?secret_token=(?P<secret_token>[^&]+))?) ) ''' @@ -692,6 +692,9 @@ class SoundcloudIE(SoundcloudBaseIE): # Go+ (account with active subscription needed) 'url': 'https://soundcloud.com/taylorswiftofficial/look-what-you-made-me-do', 'only_matching': True, + }, { + 'url': 'https://api.soundcloud.com/tracks/soundcloud%3Atracks%3A1083788353', + 'only_matching': True, }] def _real_extract(self, url):