Tres Daos Scan: Change theme to MangaThemesia (#1914)

Move to themesia
This commit is contained in:
bapeey 2024-03-16 00:33:20 -05:00 committed by Draff
parent 0c4abef20c
commit 3f73aec7cf
2 changed files with 8 additions and 13 deletions

View File

@ -1,9 +1,9 @@
ext {
extName = 'Tres Daos Scan'
extClass = '.TresDaosScan'
themePkg = 'madara'
themePkg = 'mangathemesia'
baseUrl = 'https://tresdaos.com'
overrideVersionCode = 0
overrideVersionCode = 6
}
apply from: "$rootDir/common.gradle"

View File

@ -1,25 +1,20 @@
package eu.kanade.tachiyomi.extension.es.tresdaosscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class TresDaosScan : Madara(
class TresDaosScan : MangaThemesia(
"Tres Daos Scan",
"https://tresdaos.com",
"es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) {
// Site move from MangaThemesia to Madara
override val versionId = 2
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val useNewChapterEndpoint = true
// Site move from Madara to MangaThemesia
override val versionId = 3
override val client = super.client.newBuilder()
.rateLimit(2, 1, TimeUnit.SECONDS)
.rateLimit(2)
.build()
}