pull/32/head
kunfei 5 years ago
parent 82e4f881e3
commit 16532abd30
  1. 1
      app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt
  2. 1
      app/src/main/java/io/legado/app/model/webbook/BookContent.kt
  3. 1
      app/src/main/java/io/legado/app/model/webbook/BookInfo.kt
  4. 1
      app/src/main/java/io/legado/app/model/webbook/BookList.kt

@ -31,6 +31,7 @@ object BookChapterList {
baseUrl
)
)
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl")
val tocRule = bookSource.getTocRule()
val nextUrlList = arrayListOf(baseUrl)
var reverse = false

@ -32,6 +32,7 @@ object BookContent {
baseUrl
)
)
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl")
val content = StringBuilder()
val nextUrlList = arrayListOf(baseUrl)
val contentRule = bookSource.getContentRule()

@ -23,6 +23,7 @@ object BookInfo {
baseUrl
)
)
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl")
val infoRule = bookSource.getBookInfoRule()
val analyzeRule = AnalyzeRule(book)
analyzeRule.setContent(body)

@ -27,6 +27,7 @@ object BookList {
baseUrl
)
)
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl")
val analyzeRule = AnalyzeRule(null)
analyzeRule.setContent(body, baseUrl)
bookSource.bookUrlPattern?.let {

Loading…
Cancel
Save