Maidscan: update domain and bug fix (#2866)

* Update domain

* Update rateLimit

* Update icons

* Fix date format

* Add LoadMoreStrategy.Never

* Cleanup
This commit is contained in:
Chopper 2024-05-06 12:33:57 -03:00 committed by Draff
parent 437ee8b4bc
commit 4161c3f51d
7 changed files with 6 additions and 7 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Maid Scan'
extClass = '.MaidScan'
themePkg = 'madara'
baseUrl = 'https://maidscan.com.br'
overrideVersionCode = 0
baseUrl = 'https://maidscans.com'
overrideVersionCode = 1
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -5,18 +5,17 @@ import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class MaidScan : Madara(
"Maid Scan",
"https://maidscan.com.br",
"https://maidscans.com",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.rateLimit(2)
.build()
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = true
}