pull/871/head^2
gedoor 4 years ago
parent f3645ac25f
commit 02c78d810e
  1. 6
      app/src/main/java/io/legado/app/model/Debug.kt

@ -186,6 +186,12 @@ object Debug {
} }
private fun infoDebug(scope: CoroutineScope, webBook: WebBook, book: Book) { private fun infoDebug(scope: CoroutineScope, webBook: WebBook, book: Book) {
if (book.tocUrl.isNotBlank()) {
log(debugSource, "目录url不为空,详情页已解析")
log(debugSource, showTime = false)
tocDebug(scope, webBook, book)
return
}
log(debugSource, "︾开始解析详情页") log(debugSource, "︾开始解析详情页")
val info = webBook.getBookInfo(scope, book) val info = webBook.getBookInfo(scope, book)
.onSuccess { .onSuccess {

Loading…
Cancel
Save