This commit is contained in:
Horis 2023-12-21 21:08:59 +08:00
parent 44e22bdcf7
commit 36eb6bec24

View File

@ -178,6 +178,9 @@ class EpubFile(var book: Book) {
elements.select("title").remove()
elements.select("img").forEach {
val src = it.attr("src")
if (src == "cover.jpeg") {
return@forEach
}
val path = chapter.url.substringBeforeLast("/", "")
val absSrc = if (path.isEmpty()) {
src