mirror of
https://github.com/gotson/komga.git
synced 2026-01-03 06:16:34 +01:00
parent
7ef59b0cda
commit
681337af63
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@ class EpubExtractor(
|
|||
?.attr("content")
|
||||
?.ifBlank { null }
|
||||
?.let { manifest[it] }
|
||||
|
||||
?: // try id="cover-image"
|
||||
manifest.values.firstOrNull { it.id == "cover-image" }
|
||||
if (coverManifestItem != null) {
|
||||
val href = coverManifestItem.href
|
||||
val mediaType = coverManifestItem.mediaType
|
||||
|
|
|
|||
Loading…
Reference in a new issue