TresDaosScan: Change theme (#3611)

Update domain
This commit is contained in:
bapeey 2024-06-17 07:36:20 -05:00 committed by Draff
parent 353c7e086f
commit f241b03d61
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 5 additions and 9 deletions

View File

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

View File

@ -1,23 +1,19 @@
package eu.kanade.tachiyomi.extension.es.tresdaosscan 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 eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class TresDaosScan : Madara( class TresDaosScan : MangaThemesia(
"Tres Daos Scan", "Tres Daos Scan",
"https://tresdaos.com", "https://tresdaos.com",
"es", "es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")), dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) { ) {
// Site move from MangaThemesia to Madara
override val versionId = 4 override val versionId = 4
override val client = super.client.newBuilder() override val client = super.client.newBuilder()
.rateLimit(2) .rateLimit(2)
.build() .build()
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val useNewChapterEndpoint = true
} }