parent
f740c319ba
commit
18943c8c1f
|
@ -1,9 +1,9 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Hikari Scan'
|
extName = 'Hikari Scan'
|
||||||
extClass = '.HikariScan'
|
extClass = '.HikariScan'
|
||||||
themePkg = 'mangathemesia'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://hikariscan.org'
|
baseUrl = 'https://hikariscan.org'
|
||||||
overrideVersionCode = 2
|
overrideVersionCode = 0
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,20 @@
|
||||||
package eu.kanade.tachiyomi.extension.pt.hikariscan
|
package eu.kanade.tachiyomi.extension.pt.hikariscan
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||||
import okhttp3.HttpUrl.Companion.toHttpUrl
|
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
class HikariScan : MangaThemesia(
|
class HikariScan : Madara(
|
||||||
"Hikari Scan",
|
"Hikari Scan",
|
||||||
"https://hikariscan.org",
|
"https://hikariscan.org",
|
||||||
"pt-BR",
|
"pt-BR",
|
||||||
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
|
dateFormat = SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
|
||||||
) {
|
) {
|
||||||
override val client = super.client.newBuilder()
|
override val client = super.client.newBuilder()
|
||||||
.rateLimitHost(baseUrl.toHttpUrl(), 1, 2)
|
.rateLimitHost(baseUrl.toHttpUrl(), 1, 2)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
// =========================== Manga Details ============================
|
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||||
override val altNamePrefix = "Títulos alternativos: "
|
|
||||||
override val seriesAuthorSelector = ".tsinfo .imptdt:contains(autor) i"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue