mirror of
https://github.com/201206030/novel.git
synced 2025-07-16 17:26:38 +00:00
修复爬虫运行停止后有时打不开的bug
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user