|
|
@ -155,10 +155,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) { |
|
|
|
private fun contentDebug(book: Book, bookChapter: BookChapter, nextChapterUrl: String?) { |
|
|
|
private fun contentDebug(book: Book, bookChapter: BookChapter, nextChapterUrl: String?) { |
|
|
|
printLog(debugSource, "︾开始解析正文页") |
|
|
|
printLog(debugSource, "︾开始解析正文页") |
|
|
|
val content = webBook.getContent(book, bookChapter, nextChapterUrl) |
|
|
|
val content = webBook.getContent(book, bookChapter, nextChapterUrl) |
|
|
|
.onSuccess { content -> |
|
|
|
.onSuccess { |
|
|
|
content?.let { |
|
|
|
|
|
|
|
printLog(debugSource, it, state = 1000) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
printLog(debugSource, "︽正文页解析完成") |
|
|
|
printLog(debugSource, "︽正文页解析完成") |
|
|
|
} |
|
|
|
} |
|
|
|
.onError { |
|
|
|
.onError { |
|
|
|