parent
1767c5a29d
commit
61f7d83728
|
@ -1,10 +1,9 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Hikari Ga Nai'
|
extName = 'Hikari Ga Nai'
|
||||||
extClass = '.HikariGaNai'
|
extClass = '.HikariGaNai'
|
||||||
themePkg = 'madara'
|
themePkg = 'peachscan'
|
||||||
baseUrl = 'https://hikariganai.xyz'
|
baseUrl = 'https://hikariganai.xyz'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 28
|
||||||
isNsfw = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
package eu.kanade.tachiyomi.extension.pt.hikariganai
|
package eu.kanade.tachiyomi.extension.pt.hikariganai
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.peachscan.PeachScan
|
||||||
import java.text.SimpleDateFormat
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import java.util.Locale
|
|
||||||
|
|
||||||
class HikariGaNai : Madara(
|
class HikariGaNai : PeachScan(
|
||||||
"Hikari Ga Nai",
|
"Hikari Ga Nai",
|
||||||
"https://hikariganai.xyz",
|
"https://hikariganai.xyz",
|
||||||
"pt-BR",
|
"pt-BR",
|
||||||
dateFormat = SimpleDateFormat("d 'de' MMMM 'de' yyyy", Locale("pt", "BR")),
|
|
||||||
) {
|
) {
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
// Moved from Madara to PeachScan
|
||||||
override val useNewChapterEndpoint = true
|
override val versionId = 2
|
||||||
|
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimit(2)
|
||||||
|
.build()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue