Add TerritorioLealtad (#1804)
This commit is contained in:
parent
8be756b8bc
commit
696a40e725
|
@ -0,0 +1,10 @@
|
||||||
|
ext {
|
||||||
|
extName = 'Territorio Lealtad'
|
||||||
|
extClass = '.TerritorioLealtad'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://territorioleal.com'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
|
@ -0,0 +1,21 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.es.territoriolealtad
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||||
|
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class TerritorioLealtad : Madara(
|
||||||
|
"Territorio Lealtad",
|
||||||
|
"https://territorioleal.com",
|
||||||
|
"es",
|
||||||
|
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
||||||
|
) {
|
||||||
|
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimitHost(baseUrl.toHttpUrl(), 2)
|
||||||
|
.build()
|
||||||
|
}
|
Loading…
Reference in New Issue