|
|
|
@ -13,6 +13,7 @@ import io.legado.app.data.entities.Book |
|
|
|
|
import io.legado.app.data.entities.BookChapter |
|
|
|
|
import io.legado.app.help.AppConfig |
|
|
|
|
import io.legado.app.help.ReadBookConfig |
|
|
|
|
import io.legado.app.model.analyzeRule.AnalyzeUrl |
|
|
|
|
import io.legado.app.ui.book.read.page.entities.TextChapter |
|
|
|
|
import io.legado.app.ui.book.read.page.entities.TextChar |
|
|
|
|
import io.legado.app.ui.book.read.page.entities.TextLine |
|
|
|
@ -118,7 +119,7 @@ object ChapterProvider { |
|
|
|
|
|
|
|
|
|
return TextChapter( |
|
|
|
|
bookChapter.index, bookChapter.title, |
|
|
|
|
bookChapter.getAbsoluteURL().substringBefore(","), |
|
|
|
|
bookChapter.getAbsoluteURL().split(AnalyzeUrl.splitUrlRegex)[0], |
|
|
|
|
textPages, chapterSize |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|