java爬虫
啦啦啦灬
这个作者很懒,什么都没留下…
展开
-
java爬取笔趣阁魔道祖师小说
@RequestMapping("biquge") @ResponseBody public void biquge() throws Exception { int i=1; String name="魔道祖师"; long startTime = System.currentTimeMillis(); //1. 确定首页URL: 魔道小说的第一章的URL String...原创 2019-08-24 09:19:08 · 957 阅读 · 0 评论 -
在java中使用线程池爬取笔趣阁全网小说----SpringBoot
<!-- 爬取数据需要的依赖 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.58</version> </dependency> ...原创 2019-08-21 10:35:31 · 595 阅读 · 0 评论 -
使用java爬取小说牧神记
public static void main(String[] args) { Long startTime, endTime; System.out.println("小爬虫开始了。。。。。。。。。。。"); startTime = new Date().getTime(); Document document; try ...原创 2019-08-16 17:17:19 · 371 阅读 · 0 评论 -
java爬取重生柯南当侦探小说
//1. 确定首页URL: 重生柯南当侦探小说的第一章的URL String indexUrl = "https://read.qidian.com/chapter/nKVO7k6YUptmzDX0o03xsg2/6Ko8rgNY4EBp4rPq4Fd4KQ2"; //创建一个输出流,将爬到的小说以txt形式保存在硬盘 BufferedWriter bw = new Buffered...原创 2019-08-23 14:20:02 · 216 阅读 · 0 评论