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,
listRule,
book,
bookSource,
getNextUrl = false
bookSource
)
item.chapterList = nextChapterData.chapterList
}

@ -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)

Loading…
Cancel
Save