爬虫代码优化

This commit is contained in:
xiongxiaoyang
2020-12-24 01:22:19 +08:00
parent c3daaecaaa
commit 6fd183c2ae
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ public class CrawlParser {
int indexNum = 0;
//总字数
Integer totalWordCount = 0;
Integer totalWordCount = book.getWordCount() == null ? 0 : book.getWordCount();
while (isFindIndex) {