批量提取一个网页里面的超链接

/ 0评 / 1

右键 审查元素 在console中输入

for(var a of document.getElementsByTagName('a')){
console.log(a.href)
}

发表评论

邮箱地址不会被公开。 必填项已用*标注