LunarScan(PT): Update domain (#4419)

Update domain
This commit is contained in:
Chopper 2024-08-05 11:02:52 -03:00 committed by GitHub
parent 940e909ecb
commit 12a638555e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 5 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Lunar Scan' extName = 'Lunar Scan'
extClass = '.LunarScan' extClass = '.LunarScan'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://lunarscan.com.br' baseUrl = 'https://lunarrscan.com'
overrideVersionCode = 1 overrideVersionCode = 2
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -1,14 +1,23 @@
package eu.kanade.tachiyomi.extension.pt.lunarscan package eu.kanade.tachiyomi.extension.pt.lunarscan
import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
class LunarScan : Madara( class LunarScan : Madara(
"Lunar Scan", "Lunar Scan",
"https://lunarscan.com.br", "https://lunarrscan.com",
"pt-BR", "pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
) { ) {
override val mangaSubString = "obra" override val client = super.client.newBuilder()
.rateLimit(2)
.build()
override val mangaSubString = "obras"
override val useNewChapterEndpoint = true
override val useLoadMoreRequest = LoadMoreStrategy.Never
} }