在浏览器中右键选择检查元素,根据需要在 Console 中复制粘贴以下代码即可提出 URLs。

  1. Code for URL Extraction
urls = $$('a'); for (url in urls) console.log ( urls[url].href ); 

2. Code for URL Extraction with Anchor Text (COLOURED)(chrome/firefox)

var urls=$$('a');for(url in urls){console.log("%c#"+url+" - %c"+urls[url].innerHTML +" -- %c"+urls[url].href,"color:red;","color:green;","color:blue;");} 

3. Code for URL Extraction with Anchor Text (IE/Edge)

var urls=$$('a');for(url in urls){console.log("#"+url+" - "+urls[url].innerHTML +" -- "+urls[url].href)}