@ -24,7 +24,8 @@ data class SearchBook(
var description: String? = null,
var latestChapterTitle: String? = null,
var time: Long = 0L,
var variable: String? = null
var variable: String? = null,
var bookInfoHtml: String? = null
) : Parcelable, BaseBook {
@IgnoredOnParcel
@ -29,7 +29,21 @@ class BookList {
)
val analyzer = AnalyzeRule(null)
analyzer.setContent(body, baseUrl)
bookSource.bookUrlPattern?.let {
if (baseUrl.matches(it.toRegex())) {
getItem()?.let { searchBook ->
searchBook.bookInfoHtml = body
bookList.add(searchBook)
}
return bookList
fun getItem(): SearchBook? {
val searchBook = SearchBook()
return null