修复爬虫运行停止后有时打不开的bug

This commit is contained in:
xxy 2019-11-16 08:26:10 +08:00
parent 5fdb59724d
commit 809f8f4240
6 changed files with 24 additions and 4 deletions

View File

@ -56,7 +56,13 @@ novel-admin :平台后台管理系统源码
![](./assets/crawl_pic.png)
3.其他功能开发中。。。
3.爬虫配置界面。
![](./assets/crawl_config.png)
4.其他功能开发中。。。
#### 微信小程序截图
@ -133,7 +139,11 @@ novel-admin :平台后台管理系统源码
![1573589880588](./assets/springcloud.jpg)
后续系统功能会越来越多结构会越来越复杂所以将考虑出完整图文和视频教程请大家持续关注。喜欢此项目的可以给我的GitHub和Gitee加个Star支持一下 。
后续系统功能会越来越多结构会越来越复杂所以将考虑出完整图文和视频教程请大家持续关注。喜欢此项目的可以给我的GitHub和Gitee加个Star支持一下 。**如果你觉得此项目还不错,请给我投上宝贵的一票,谢谢!**
**开源中国投票通道**https://www.oschina.net/p/fiction_house
![1573589880588](./assets/oschina_tp.png)
##### 演示地址1

BIN
assets/crawl_config.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 31 KiB

BIN
assets/oschina_tp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -100,6 +100,16 @@ public class BookCrawlServiceImpl implements BookCrawlService {
}
}
} else {
switch (bookCrawl.getCrawlWebCode()) {
case 1: {
isInteruptBiquDaoCrawl = false;
break;
}
case 2: {
isInteruptBiquTaCrawl = false;
break;
}
}
crawlBook(bookCrawl);
}

View File

@ -35,9 +35,9 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://47.106.243.172:3306/books?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://127.0.0.1:3306/books?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
username: books
password: books!8888
password: books
#password:
initialSize: 1
minIdle: 3