parent
3a8918ae58
commit
f692c85526
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.LilyManga'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://lilymanga.net'
|
||||
overrideVersionCode = 3
|
||||
overrideVersionCode = 4
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,24 @@
|
||||
package eu.kanade.tachiyomi.extension.en.lilymanga
|
||||
|
||||
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 LilyManga : Madara("Lily Manga", "https://lilymanga.net", "en", SimpleDateFormat("yyyy-MM-dd", Locale.US)) {
|
||||
class LilyManga : Madara(
|
||||
"Lily Manga",
|
||||
"https://lilymanga.net",
|
||||
"en",
|
||||
dateFormat = SimpleDateFormat("yyyy-MM-dd", Locale.US),
|
||||
) {
|
||||
override val client = super.client.newBuilder()
|
||||
.rateLimitHost(baseUrl.toHttpUrl(), 1, 2)
|
||||
.build()
|
||||
|
||||
override val mangaSubString = "ys"
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user