mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +01:00
parent
e1741c34fa
commit
a6c19f6eee
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class EpubMetadataProvider(
|
|||
override fun getSeriesMetadataFromBook(book: BookWithMedia): SeriesMetadataPatch? {
|
||||
if (book.media.mediaType != "application/epub+zip") return null
|
||||
epubExtractor.getPackageFile(book.book.path)?.let { packageFile ->
|
||||
val opf = Jsoup.parse(packageFile)
|
||||
val opf = Jsoup.parse(packageFile, "", Parser.xmlParser())
|
||||
|
||||
val series = (
|
||||
opf.selectFirst("metadata > meta[property=belongs-to-collection]")
|
||||
|
|
|
|||
Loading…
Reference in a new issue