Html web爬虫越界解析
我有以下两种方法,Html web爬虫越界解析,html,string,Html,String,我有以下两种方法, public void connect (String website) throws IOException { URL u = new URL(website); URLConnection conn = u.openConnection(); 为什么不使用正则表达式查找链接S或html解析器库[实际上是regex nyway]
public void connect (String website) throws IOException {
URL u = new URL(website);
URLConnection conn = u.openConnection();
为什么不使用正则表达式查找链接S或html解析器库[实际上是regex nyway]