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 Draff
parent 14ad5b9027
commit e807908b9f
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -24,7 +24,7 @@ import kotlin.concurrent.thread
class IkigaiMangas : HttpSource() { 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" private val apiBaseUrl: String = "https://panel.ikigaimangas.com"
override val lang: String = "es" override val lang: String = "es"

View File

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