Add ManhuaOnline (#2291)
This commit is contained in:
parent
ed0912d0d6
commit
fba65e67ea
|
@ -0,0 +1,10 @@
|
|||
ext {
|
||||
extName = 'Manhua Online'
|
||||
extClass = '.ManhuaOnline'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://manhuaonline.org'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
|
@ -0,0 +1,23 @@
|
|||
package eu.kanade.tachiyomi.extension.es.manhuaonline
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class ManhuaOnline : Madara(
|
||||
"Manhua Online",
|
||||
"https://manhuaonline.org",
|
||||
"es",
|
||||
SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
||||
) {
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val mangaDetailsSelectorTitle = "div.summary-content span.rate-title"
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(3)
|
||||
.build()
|
||||
}
|
Loading…
Reference in New Issue