mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 18:32:39 +01:00
Ikigai Mangas: update domain, skip chapter redir (#2718)
This commit is contained in:
parent
6d6b6a92b0
commit
ccb3bbcafb
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Ikigai Mangas'
|
||||
extClass = '.IkigaiMangas'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user