HikariScan: Migrate theme (#5616)

* Migrate theme

* Remove versionId
This commit is contained in:
Chopper 2024-10-22 23:08:40 -03:00 committed by Draff
parent f740c319ba
commit 18943c8c1f
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 6 additions and 8 deletions

View File

@ -1,9 +1,9 @@
ext {
extName = 'Hikari Scan'
extClass = '.HikariScan'
themePkg = 'mangathemesia'
themePkg = 'madara'
baseUrl = 'https://hikariscan.org'
overrideVersionCode = 2
overrideVersionCode = 0
isNsfw = true
}

View File

@ -1,22 +1,20 @@
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 okhttp3.HttpUrl.Companion.toHttpUrl
import java.text.SimpleDateFormat
import java.util.Locale
class HikariScan : MangaThemesia(
class HikariScan : Madara(
"Hikari Scan",
"https://hikariscan.org",
"pt-BR",
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
dateFormat = SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
) {
override val client = super.client.newBuilder()
.rateLimitHost(baseUrl.toHttpUrl(), 1, 2)
.build()
// =========================== Manga Details ============================
override val altNamePrefix = "Títulos alternativos: "
override val seriesAuthorSelector = ".tsinfo .imptdt:contains(autor) i"
override val useLoadMoreRequest = LoadMoreStrategy.Never
}