Ikigai Mangas: update domain, skip chapter redir (#2718)
This commit is contained in:
parent
14ad5b9027
commit
e807908b9f
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Ikigai Mangas'
|
extName = 'Ikigai Mangas'
|
||||||
extClass = '.IkigaiMangas'
|
extClass = '.IkigaiMangas'
|
||||||
extVersionCode = 7
|
extVersionCode = 8
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue