LuraToon: move to PeachScan (#2268)

This commit is contained in:
AwkwardPeak7 2024-04-06 11:44:13 +05:00 committed by Draff
parent ef36432ffc
commit ff7408266e
2 changed files with 6 additions and 20 deletions

View File

@ -1,9 +1,9 @@
ext {
extName = 'Lura Toon'
extClass = '.LuraToon'
themePkg = 'madara'
themePkg = 'peachscan'
baseUrl = 'https://luratoon.com'
overrideVersionCode = 7
overrideVersionCode = 39
}
apply from: "$rootDir/common.gradle"

View File

@ -1,24 +1,10 @@
package eu.kanade.tachiyomi.extension.pt.randomscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.multisrc.peachscan.PeachScan
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class LuraToon : Madara(
"Lura Toon",
"https://luratoon.com",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
) {
// Name changed from Random Scan to Lura Toon and Domain change
override val id: Long = 8295593204533043008
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
class LuraToon : PeachScan("Lura Toon", "https://luratoon.com", "pt-BR") {
override val client = super.client.newBuilder()
.rateLimit(1, 2)
.build()
override val useNewChapterEndpoint = true
}