只是玩java试图学习它等 这是我的代码到目前为止,使用HtmlUnit。 package hsspider;
import com.gargoylesoftware.htmlunit.WebClient;
/**
* @author
*/
public class Main {
/**
* @param args the command line argumen
我试图让所有的主要环节,然后点击它们和导航页面: WebClient client = new WebClient();
HtmlPage page = client.getPage(url);
// Get all links with a href of www.example.com/pages/1_
List<HtmlAnchor> links = (L