![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫
彪悍程序员
以德立身,泽己及人,以志立身,契而不舍
展开
-
java方式selenium+phantomjs动态爬虫入门案例
public void test1(){ //System.setProperty("webdriver.firefox.bin", "D:/software/Mozilla Firefox/firefox.exe"); String path = demo1.class.getClassLoader().getResource("").getPath()+"phantomjs-...原创 2018-08-16 15:31:47 · 1790 阅读 · 0 评论 -
java方式httpclient/htmlunit爬虫入门案例
@Test public void test1() throws Exception{ CloseableHttpClient httpClient = HttpClients.createDefault(); HttpGet httpGet = new HttpGet("http://www.baidu.com"); CloseableHttpRespons...原创 2018-08-16 15:38:16 · 319 阅读 · 0 评论