mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
parent
eda2ddb47a
commit
92bd4c8dab
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'SlimeRead'
|
||||
extClass = '.SlimeRead'
|
||||
extVersionCode = 8
|
||||
extVersionCode = 9
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -141,6 +141,7 @@ class SlimeRead : HttpSource() {
|
||||
title = info.name
|
||||
description = info.description
|
||||
genre = info.categories.joinToString()
|
||||
url = "/book/${info.id}"
|
||||
status = when (info.status) {
|
||||
1 -> SManga.ONGOING
|
||||
2 -> SManga.COMPLETED
|
||||
|
@ -28,6 +28,7 @@ fun List<PopularMangaDto>.toSMangaList(): List<SManga> = map { item ->
|
||||
|
||||
@Serializable
|
||||
data class MangaInfoDto(
|
||||
@SerialName("book_id") val id: Int,
|
||||
@SerialName("book_image") val thumbnail_url: String?,
|
||||
@SerialName("book_name_original") val name: String,
|
||||
@SerialName("book_status") val status: Int,
|
||||
|
Loading…
Reference in New Issue
Block a user