pull/32/head
kunfei 5 years ago
parent 38cdb80cdc
commit 383f5d1000
  1. 2
      app/src/main/java/io/legado/app/model/webbook/BookList.kt

@ -108,9 +108,11 @@ object BookList {
analyzeRule.setBook(searchBook)
with(bookSource.getBookInfoRule()) {
init?.let {
if (it.isNotEmpty()) {
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "执行详情页初始化规则")
analyzeRule.setContent(analyzeRule.getElement(it))
}
}
SourceDebug.printLog(bookSource.bookSourceUrl, 1, "获取书名")
searchBook.name = analyzeRule.getString(name ?: "") ?: ""
SourceDebug.printLog(bookSource.bookSourceUrl, 1, searchBook.name)

Loading…
Cancel
Save