diff --git a/app/src/main/java/io/legado/app/model/WebBook.kt b/app/src/main/java/io/legado/app/model/WebBook.kt index d8bce710f..1d375498f 100644 --- a/app/src/main/java/io/legado/app/model/WebBook.kt +++ b/app/src/main/java/io/legado/app/model/WebBook.kt @@ -138,6 +138,7 @@ class WebBook(val bookSource: BookSource) { ): Coroutine { return Coroutine.async(scope, context) { if (bookSource.getContentRule().content.isNullOrEmpty()) { + Debug.log(sourceUrl, "内容规则为空,直接返回目录Url:${bookChapter.url}") return@async bookChapter.url } val body = if (bookChapter.url == book.bookUrl && !book.tocHtml.isNullOrEmpty()) {