diff --git a/src/pt/slimeread/build.gradle b/src/pt/slimeread/build.gradle index 2467ee339..08d8286a5 100644 --- a/src/pt/slimeread/build.gradle +++ b/src/pt/slimeread/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'SlimeRead' extClass = '.SlimeRead' - extVersionCode = 8 + extVersionCode = 9 isNsfw = true } diff --git a/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/SlimeRead.kt b/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/SlimeRead.kt index 1ea55568f..6e201d2ea 100644 --- a/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/SlimeRead.kt +++ b/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/SlimeRead.kt @@ -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 diff --git a/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/dto/SlimeReadDto.kt b/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/dto/SlimeReadDto.kt index fe0f7489b..5b3d152f3 100644 --- a/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/dto/SlimeReadDto.kt +++ b/src/pt/slimeread/src/eu/kanade/tachiyomi/extension/pt/slimeread/dto/SlimeReadDto.kt @@ -28,6 +28,7 @@ fun List.toSMangaList(): List = 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,