Created
April 2, 2025 01:43
-
-
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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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