This commit is contained in:
xiongxiaoyang 2020-01-18 11:37:35 +08:00
parent 04ab2045f3
commit 637b01e50b

View File

@ -62,7 +62,7 @@ public class BiquCrawlSource extends BaseHtmlCrawlSource {
boolean isBookNameMatch = bookNameMatch.find(); boolean isBookNameMatch = bookNameMatch.find();
while (isFind && scoreFind && isBookNameMatch && authorMatch.find() && updateTime.getTime()>=lastUpdateTime.getTime()) { while (isFind && scoreFind && isBookNameMatch && authorMatch.find() && updateTime.getTime()>lastUpdateTime.getTime()) {
try { try {
Float score = Float.parseFloat(scoreMatch.group(1)); Float score = Float.parseFloat(scoreMatch.group(1));
@ -116,7 +116,7 @@ public class BiquCrawlSource extends BaseHtmlCrawlSource {
} }
} }
}while (updateTime.getTime()>=lastUpdateTime.getTime()); }while (updateTime.getTime()>lastUpdateTime.getTime());
} }
bookService.updateBookUpdateTimeLog(newCat2Date); bookService.updateBookUpdateTimeLog(newCat2Date);