Ikigai Mangas: update domain, skip chapter redir (#2718)

This commit is contained in:
Vetle Ledaal 2024-05-02 00:54:03 +00:00 committed by GitHub
parent 6d6b6a92b0
commit ccb3bbcafb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Ikigai Mangas'
extClass = '.IkigaiMangas'
extVersionCode = 7
extVersionCode = 8
isNsfw = true
}

View File

@ -24,7 +24,7 @@ import kotlin.concurrent.thread
class IkigaiMangas : HttpSource() {
override val baseUrl: String = "https://ikigaimangas.com"
override val baseUrl: String = "https://visorikigai.net"
private val apiBaseUrl: String = "https://panel.ikigaimangas.com"
override val lang: String = "es"

View File

@ -91,7 +91,7 @@ class ChapterDto(
@SerialName("published_at") val date: String,
) {
fun toSChapter(dateFormat: SimpleDateFormat) = SChapter.create().apply {
url = "/capitulo/$id"
url = "/capitulo/$id/"
name = "Capítulo ${this@ChapterDto.name}"
date_upload = try {
dateFormat.parse(date)?.time ?: 0L