mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
SinensisScan: Update domain (#5131)
* Update domain * Remove date format
This commit is contained in:
parent
d203c0214b
commit
2f462ad37b
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'Sinensis Scan'
|
extName = 'Sinensis Scan'
|
||||||
extClass = '.SinensisScan'
|
extClass = '.SinensisScan'
|
||||||
themePkg = 'peachscan'
|
themePkg = 'peachscan'
|
||||||
baseUrl = 'https://sinensistoon.com'
|
baseUrl = 'https://sinensis.leitorweb.com'
|
||||||
overrideVersionCode = 38
|
overrideVersionCode = 39
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
package eu.kanade.tachiyomi.extension.pt.sinensis
|
package eu.kanade.tachiyomi.extension.pt.sinensis
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.peachscan.PeachScan
|
import eu.kanade.tachiyomi.multisrc.peachscan.PeachScan
|
||||||
import java.text.SimpleDateFormat
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import java.util.Locale
|
|
||||||
|
|
||||||
class SinensisScan : PeachScan(
|
class SinensisScan : PeachScan(
|
||||||
"Sinensis Scan",
|
"Sinensis Scan",
|
||||||
"https://sinensistoon.com",
|
"https://sinensis.leitorweb.com",
|
||||||
"pt-BR",
|
"pt-BR",
|
||||||
SimpleDateFormat("dd 'de' MMMM 'de' yyyy 'às' HH:mm", Locale("pt", "BR")),
|
) {
|
||||||
)
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimit(3)
|
||||||
|
.build()
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user