Created
February 28, 2012 21:28
-
-
Save b1/1935276 to your computer and use it in GitHub Desktop.
vk.com music parser from browser console
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
clear(); | |
var t = $x('//*[@class="play_btn"]/input'); | |
// var t = $$('div#post-23141788_12015 input[type=hidden]'); | |
var ec=''; | |
for(var i=0;i<t.length;i++) | |
{ | |
var str=t[i].value; | |
ec+=' '+str.substring(0,str.length-4); | |
} | |
console.log(ec); | |
// then wget it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment