parent
308b9a09d3
commit
d0004a3440
@ -1,10 +0,0 @@
|
|||||||
ext {
|
|
||||||
extName = 'Hikari Scan'
|
|
||||||
extClass = '.HikariScan'
|
|
||||||
themePkg = 'madara'
|
|
||||||
baseUrl = 'https://hikariscan.org'
|
|
||||||
overrideVersionCode = 0
|
|
||||||
isNsfw = true
|
|
||||||
}
|
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -1,20 +0,0 @@
|
|||||||
package eu.kanade.tachiyomi.extension.pt.hikariscan
|
|
||||||
|
|
||||||
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 : Madara(
|
|
||||||
"Hikari Scan",
|
|
||||||
"https://hikariscan.org",
|
|
||||||
"pt-BR",
|
|
||||||
dateFormat = SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
|
|
||||||
) {
|
|
||||||
override val client = super.client.newBuilder()
|
|
||||||
.rateLimitHost(baseUrl.toHttpUrl(), 1, 2)
|
|
||||||
.build()
|
|
||||||
|
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user