01 2018 档案

摘要:htmlunit 无头浏览器 爬虫使用填坑: <!-- htmlunit start --> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> <version>1.10.3</version> </de 阅读全文
posted @ 2018-01-31 14:03 洞玄巅峰 阅读(218) 评论(0) 推荐(0)
摘要:/** * 移除网页中注释掉的代码 * * @param str * @return */ public static String removedisablecode(String str) { Pattern pattern = Pattern.compile("<!--[\\w\\W\r\\n 阅读全文
posted @ 2018-01-22 16:53 洞玄巅峰 阅读(235) 评论(0) 推荐(0)