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 baseUrl
) )
) )
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取成功:$baseUrl")
val tocRule = bookSource.getTocRule() val tocRule = bookSource.getTocRule()
val nextUrlList = arrayListOf(baseUrl) val nextUrlList = arrayListOf(baseUrl)
var reverse = false var reverse = false

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

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

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

Loading…
Cancel
Save