Skip to content

Instantly share code, notes, and snippets.

@carterlasalle
Created April 2, 2025 01:43
Show Gist options
  • Save carterlasalle/e42e6c61c7c7cd387aea5f87350f4d95 to your computer and use it in GitHub Desktop.
Save carterlasalle/e42e6c61c7c7cd387aea5f87350f4d95 to your computer and use it in GitHub Desktop.
Accidentally synced you spotfiy liked songs to soundcloud or just want to mass unlike? Here you go! Just set the number of songs!
//Accidentally synced you spotfiy liked songs to soundcloud or just want to mass unlike? Here you go! Just set the number of songs!
// Go to soundcloud main page and paste in the console
(async function() {
let count = 0;
const limit = 50; // Set the number of songs to unlike
while (count < limit) {
var buttons = Array.from(document.querySelectorAll(".sc-button-like[title='Unlike']"));
if (buttons.length === 0) break;
buttons.forEach(button => {
if (count < limit) {
button.click();
count++;
}
});
await new Promise(resolve => setTimeout(resolve, 2000)); // Wait for more tracks to load
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment