From db083c013d659fc504ec8e039ab4dd4402959aa9 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 31 Oct 2019 11:03:33 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/model/webbook/BookChapterList.kt | 3 +-- app/src/main/java/io/legado/app/model/webbook/BookContent.kt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt b/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt index 93301e13f..c17938361 100644 --- a/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt +++ b/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt @@ -89,8 +89,7 @@ object BookChapterList { tocRule, listRule, book, - bookSource, - getNextUrl = false + bookSource ) item.chapterList = nextChapterData.chapterList } diff --git a/app/src/main/java/io/legado/app/model/webbook/BookContent.kt b/app/src/main/java/io/legado/app/model/webbook/BookContent.kt index 1d7886c45..cb169601f 100644 --- a/app/src/main/java/io/legado/app/model/webbook/BookContent.kt +++ b/app/src/main/java/io/legado/app/model/webbook/BookContent.kt @@ -122,7 +122,7 @@ object BookContent { analyzeRule.getStringList(nextUrlRule, true)?.let { nextUrlList.addAll(it) } - SourceDebug.printLog(bookSource.bookSourceUrl, nextUrlList.joinToString(",")) + SourceDebug.printLog(bookSource.bookSourceUrl, nextUrlList.joinToString(","), printLog) } val content = analyzeRule.getString(contentRule.content ?: "")?.htmlFormat() ?: "" return ContentData(content, nextUrlList)