Add MaidSecret (#2354)
* Add MaidSecret * Add isNsfw * Add icons * Set useNewChapterEndpoint to true
This commit is contained in:
parent
9d43ba0711
commit
be7c034bd2
|
@ -0,0 +1,10 @@
|
|||
ext {
|
||||
extName = 'Maid Secret'
|
||||
extClass = '.MaidSecret'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://maidsecret.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
After Width: | Height: | Size: 57 KiB |
|
@ -0,0 +1,20 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.maidsecret
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MaidSecret : Madara(
|
||||
"Maid Secret",
|
||||
"https://maidsecret.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
|
||||
) {
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val client = network.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
}
|
Loading…
Reference in New Issue