mirror of
https://gitee.com/novel_dev_team/novel
synced 2026-07-20 17:52:45 +08:00
优化
This commit is contained in:
@@ -62,7 +62,7 @@ public class BiquCrawlSource extends BaseHtmlCrawlSource {
|
||||
|
||||
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 {
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user