var i = 1;
jQuery(".ndownlist:last [href]").each(function() {
if (null != this.title) {
if (this.title == "迅雷离线下载") {
console.info(i + this.href);
i = i + 1;
}
}
});
转载于:https://my.oschina.net/u/204616/blog/546238