Maidscan: update domain and bug fix (#2866)
* Update domain * Update rateLimit * Update icons * Fix date format * Add LoadMoreStrategy.Never * Cleanup
|
@ -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"
|
||||
|
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 44 KiB |
|
@ -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
|
||||
}
|
||||
|
|