mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-24 19:32:41 +01:00
Add ManhuaOnline (#2291)
This commit is contained in:
parent
d16b9e42d3
commit
937faca6a7
10
src/es/manhuaonline/build.gradle
Normal file
10
src/es/manhuaonline/build.gradle
Normal file
@ -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
Block a user