LuraToon: move to PeachScan (#2268)
This commit is contained in:
parent
ef36432ffc
commit
ff7408266e
|
@ -1,9 +1,9 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Lura Toon'
|
extName = 'Lura Toon'
|
||||||
extClass = '.LuraToon'
|
extClass = '.LuraToon'
|
||||||
themePkg = 'madara'
|
themePkg = 'peachscan'
|
||||||
baseUrl = 'https://luratoon.com'
|
baseUrl = 'https://luratoon.com'
|
||||||
overrideVersionCode = 7
|
overrideVersionCode = 39
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -1,24 +1,10 @@
|
||||||
package eu.kanade.tachiyomi.extension.pt.randomscan
|
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 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(
|
class LuraToon : PeachScan("Lura Toon", "https://luratoon.com", "pt-BR") {
|
||||||
"Lura Toon",
|
override val client = super.client.newBuilder()
|
||||||
"https://luratoon.com",
|
.rateLimit(1, 2)
|
||||||
"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)
|
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override val useNewChapterEndpoint = true
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue