parent
ceb953ff96
commit
6d3f09e1df
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'SlimeRead'
|
extName = 'SlimeRead'
|
||||||
extClass = '.SlimeRead'
|
extClass = '.SlimeRead'
|
||||||
extVersionCode = 8
|
extVersionCode = 9
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,7 @@ class SlimeRead : HttpSource() {
|
||||||
title = info.name
|
title = info.name
|
||||||
description = info.description
|
description = info.description
|
||||||
genre = info.categories.joinToString()
|
genre = info.categories.joinToString()
|
||||||
|
url = "/book/${info.id}"
|
||||||
status = when (info.status) {
|
status = when (info.status) {
|
||||||
1 -> SManga.ONGOING
|
1 -> SManga.ONGOING
|
||||||
2 -> SManga.COMPLETED
|
2 -> SManga.COMPLETED
|
||||||
|
|
|
@ -28,6 +28,7 @@ fun List<PopularMangaDto>.toSMangaList(): List<SManga> = map { item ->
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class MangaInfoDto(
|
data class MangaInfoDto(
|
||||||
|
@SerialName("book_id") val id: Int,
|
||||||
@SerialName("book_image") val thumbnail_url: String?,
|
@SerialName("book_image") val thumbnail_url: String?,
|
||||||
@SerialName("book_name_original") val name: String,
|
@SerialName("book_name_original") val name: String,
|
||||||
@SerialName("book_status") val status: Int,
|
@SerialName("book_status") val status: Int,
|
||||||
|
|
Loading…
Reference in New Issue