UnionMangas: Fix page loading (#3745)

Fix page loading
This commit is contained in:
Chopper 2024-06-26 08:35:49 -03:00 committed by Draff
parent 4b996a2976
commit c8825e0bc4
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Union Mangas'
extClass = '.UnionMangasFactory'
extVersionCode = 4
extVersionCode = 5
isNsfw = true
}

View File

@ -58,11 +58,11 @@ class SearchDto(
@Serializable
class PageDto(val `data`: Data) {
val pages: List<String> get() = `data`.lsDetail.source.split("#")
val pages: List<String> get() = `data`.detailDocuments.source.split("#")
@Serializable
class Data(val lsDetail: LsDetail)
class Data(@SerialName("detail_documents") val detailDocuments: DetailDocuments)
@Serializable
class LsDetail(val source: String)
class DetailDocuments(val source: String)
}