Last active
February 8, 2021 16:35
-
-
Save revenkroz/7a59d7421ee64c9c9fa19a58f628e59f to your computer and use it in GitHub Desktop.
Список всей музыки в ВК
This file contains 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
var lines = ''; | |
var songs = document.querySelectorAll('div[class^="audio_row__title"]'); | |
var artists = document.querySelectorAll('div[class^="audio_row__performers"]'); | |
for(var i=0; i < songs.length; i++) { | |
lines += artists[i].innerText + " — " + songs[i].innerText + "\n"; | |
} | |
copy(lines); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment