Add TerritorioLealtad (#1804)

This commit is contained in:
bapeey 2024-03-11 05:52:42 -05:00 committed by Draff
parent 8be756b8bc
commit 696a40e725
7 changed files with 31 additions and 0 deletions

View File

@ -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

View File

@ -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()
}