校验和调试时不保存正文

pull/1500/head
gedoor 3 years ago
parent 2ad300c5cf
commit dca0cd457e
  1. 6
      app/src/main/java/io/legado/app/model/webBook/BookContent.kt

@ -43,11 +43,11 @@ object BookContent {
)
Debug.log(bookSource.bookSourceUrl, "≡获取成功:${baseUrl}")
Debug.log(bookSource.bookSourceUrl, body, state = 40)
val mNextChapterUrl = if (!nextChapterUrl.isNullOrEmpty()) {
nextChapterUrl
} else {
val mNextChapterUrl = if (nextChapterUrl.isNullOrEmpty()) {
appDb.bookChapterDao.getChapter(book.bookUrl, bookChapter.index + 1)?.url
?: appDb.bookChapterDao.getChapter(book.bookUrl, 0)?.url
} else {
nextChapterUrl
}
val content = StringBuilder()
val nextUrlList = arrayListOf(baseUrl)

Loading…
Cancel
Save