pull/49/head
kunfei 5 years ago
parent 6d3003d8af
commit 974530b56f
  1. 1
      app/src/main/java/io/legado/app/model/WebBook.kt

@ -138,6 +138,7 @@ class WebBook(val bookSource: BookSource) {
): Coroutine<String> {
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()) {

Loading…
Cancel
Save