通过chrome console 快速获取网页连接
var ip = document.getElementsByClassName("jDesc");
var str = "";
for(var i=0;i<ip.length;i++)
{
var node = ip[i];
str+="\n"+node.getElementsByTagName("a")[0].href;
}
console.log(str);
通过chrome console 快速获取网页连接
var ip = document.getElementsByClassName("jDesc");
var str = "";
for(var i=0;i<ip.length;i++)
{
var node = ip[i];
str+="\n"+node.getElementsByTagName("a")[0].href;
}
console.log(str);