书源校验:更新逻辑

pull/1576/head
Xwite 3 years ago
parent eee0cf1f1b
commit a66bf6f436
  1. 6
      app/src/main/java/io/legado/app/service/CheckSourceService.kt

@ -143,8 +143,12 @@ class CheckSourceService : BaseService() {
break
}
}
if (source.hasGroup("搜索失效") && url.isNullOrBlank()) {
if (url.isNullOrBlank()) {
if (source.hasGroup("搜索失效")) {
throw NoStackTraceException("搜索内容为空并且没有发现")
} else {
throw NoStackTraceException("没有发现")
}
}
books = WebBook.exploreBookAwait(this, source, url)
if (books.isEmpty()) {

Loading…
Cancel
Save