Add DeManhuas (#1802)
This commit is contained in:
parent
a3039453b0
commit
8be756b8bc
|
@ -0,0 +1,9 @@
|
||||||
|
ext {
|
||||||
|
extName = 'DeManhuas'
|
||||||
|
extClass = '.DeManhuas'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://demanhuas.com'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
|
@ -0,0 +1,21 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.es.demanhuas
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
|
||||||
|
import okhttp3.HttpUrl.Companion.toHttpUrl
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
|
class DeManhuas : Madara(
|
||||||
|
"DeManhuas",
|
||||||
|
"https://demanhuas.com",
|
||||||
|
"es",
|
||||||
|
SimpleDateFormat("MMMM d, yyyy", Locale("es")),
|
||||||
|
) {
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.rateLimitHost(baseUrl.toHttpUrl(), 2)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val mangaSubString = "sm"
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
Loading…
Reference in New Issue