mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
parent
940e909ecb
commit
12a638555e
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Lunar Scan'
|
||||
extClass = '.LunarScan'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://lunarscan.com.br'
|
||||
overrideVersionCode = 1
|
||||
baseUrl = 'https://lunarrscan.com'
|
||||
overrideVersionCode = 2
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -1,14 +1,23 @@
|
||||
package eu.kanade.tachiyomi.extension.pt.lunarscan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
|
||||
class LunarScan : Madara(
|
||||
"Lunar Scan",
|
||||
"https://lunarscan.com.br",
|
||||
"https://lunarrscan.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
|
||||
SimpleDateFormat("MMM dd, yyyy", Locale("pt", "BR")),
|
||||
) {
|
||||
override val mangaSubString = "obra"
|
||||
override val client = super.client.newBuilder()
|
||||
.rateLimit(2)
|
||||
.build()
|
||||
|
||||
override val mangaSubString = "obras"
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user