目录

Java糊涂包Hutool的安装教程并进行网络爬虫

目录

Java糊涂包(Hutool)的安装教程并进行网络爬虫

Hutool的使用教程

1:在官网下载jar模块文件

[Central Repository: cn/hutool/hutool-all/5.8.26

https://csdnimg.cn/release/blog_editor_html/release2.3.8/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=P1C7 “Central Repository: cn/hutool/hutool-all/5.8.26”)

下载后缀只用jar的文件

https://i-blog.csdnimg.cn/direct/2b45c78cc4454d9dbd725cf201716019.png

2:复制并到idea当中,右键这个模块点击增加到库

https://i-blog.csdnimg.cn/direct/5f6bb0c7d24b4f2392d8fc845a8603cf.png

3:登录Hutool官网进行查询使用

[入门和安装

https://csdnimg.cn/release/blog_editor_html/release2.3.8/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=P1C7 “入门和安装”)

我们演示网络爬虫的apl

https://i-blog.csdnimg.cn/direct/ff3a46c8ce6b49329b6fe805f2ded099.png

我们在演示一个往文件中写入数据的apl

https://i-blog.csdnimg.cn/direct/2586b34cbdff4280824d0aa4835ac97e.png