mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
优化
This commit is contained in:
parent
04ab2045f3
commit
637b01e50b
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user