pull/43/head^2
kunfei 5 years ago
parent e3da023e9e
commit db083c013d
  1. 3
      app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt
  2. 2
      app/src/main/java/io/legado/app/model/webbook/BookContent.kt

@ -89,8 +89,7 @@ object BookChapterList {
tocRule, tocRule,
listRule, listRule,
book, book,
bookSource, bookSource
getNextUrl = false
) )
item.chapterList = nextChapterData.chapterList item.chapterList = nextChapterData.chapterList
} }

@ -122,7 +122,7 @@ object BookContent {
analyzeRule.getStringList(nextUrlRule, true)?.let { analyzeRule.getStringList(nextUrlRule, true)?.let {
nextUrlList.addAll(it) nextUrlList.addAll(it)
} }
SourceDebug.printLog(bookSource.bookSourceUrl, nextUrlList.joinToString(",")) SourceDebug.printLog(bookSource.bookSourceUrl, nextUrlList.joinToString(","), printLog)
} }
val content = analyzeRule.getString(contentRule.content ?: "")?.htmlFormat() ?: "" val content = analyzeRule.getString(contentRule.content ?: "")?.htmlFormat() ?: ""
return ContentData(content, nextUrlList) return ContentData(content, nextUrlList)

Loading…
Cancel
Save