diff --git a/src/pt/sinensis/build.gradle b/src/pt/sinensis/build.gradle index 0180b2ab5..c039a58da 100644 --- a/src/pt/sinensis/build.gradle +++ b/src/pt/sinensis/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'Sinensis Scan' extClass = '.SinensisScan' themePkg = 'peachscan' - baseUrl = 'https://sinensistoon.com' - overrideVersionCode = 38 + baseUrl = 'https://sinensis.leitorweb.com' + overrideVersionCode = 39 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/sinensis/src/eu/kanade/tachiyomi/extension/pt/sinensis/SinensisScan.kt b/src/pt/sinensis/src/eu/kanade/tachiyomi/extension/pt/sinensis/SinensisScan.kt index 062e339ba..011b43cc2 100644 --- a/src/pt/sinensis/src/eu/kanade/tachiyomi/extension/pt/sinensis/SinensisScan.kt +++ b/src/pt/sinensis/src/eu/kanade/tachiyomi/extension/pt/sinensis/SinensisScan.kt @@ -1,12 +1,14 @@ package eu.kanade.tachiyomi.extension.pt.sinensis import eu.kanade.tachiyomi.multisrc.peachscan.PeachScan -import java.text.SimpleDateFormat -import java.util.Locale +import eu.kanade.tachiyomi.network.interceptor.rateLimit class SinensisScan : PeachScan( "Sinensis Scan", - "https://sinensistoon.com", + "https://sinensis.leitorweb.com", "pt-BR", - SimpleDateFormat("dd 'de' MMMM 'de' yyyy 'às' HH:mm", Locale("pt", "BR")), -) +) { + override val client = super.client.newBuilder() + .rateLimit(3) + .build() +}