Skip to content

soundcloud: fix extraction of client_id#1497

Merged
wukko merged 1 commit intoimputnet:developfrom
zImPatrick:fix-sc
Jan 9, 2026
Merged

soundcloud: fix extraction of client_id#1497
wukko merged 1 commit intoimputnet:developfrom
zImPatrick:fix-sc

Conversation

@zImPatrick
Copy link
Contributor

SoundCloud seems to have broken on main & develop because the regex for matching the client_id didn't match anything on newer versions anymore. This PR fixes the regex & tries to extract the client_id from hydration data first (before eventually falling back to getting it from the JS files)

The regex for matching the client_id from the hydration data is courtesy of https://git.canine.tools/canine.tools/cobalt/commit/6d77edd0a0fb5ac6b4083b40e66cf675281e2fed, thanks to @hyperdefined for it

@wukko wukko linked an issue Jan 9, 2026 that may be closed by this pull request
Copy link
Member

@wukko wukko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you!

@wukko wukko merged commit 07bb16d into imputnet:develop Jan 9, 2026
24 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sound cloud does not work

2 participants