Add LMTO Online (#3654)

Add
This commit is contained in:
bapeey 2024-06-20 04:11:52 -05:00 committed by Draff
parent 4428cd7351
commit 795c6f73e2
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'LMTO Online'
extClass = '.LMTOOnline'
themePkg = 'madara'
baseUrl = 'https://lmtos.com'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,20 @@
package eu.kanade.tachiyomi.extension.es.lmtoonline
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 LMTOOnline : Madara(
"LMTO Online",
"https://lmtos.com",
"es",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("es")),
) {
override val client = super.client.newBuilder()
.rateLimitHost(baseUrl.toHttpUrl(), 3, 1)
.build()
override val useNewChapterEndpoint = true
}