mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
parent
940e909ecb
commit
12a638555e
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'Lunar Scan'
|
extName = 'Lunar Scan'
|
||||||
extClass = '.LunarScan'
|
extClass = '.LunarScan'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://lunarscan.com.br'
|
baseUrl = 'https://lunarrscan.com'
|
||||||
overrideVersionCode = 1
|
overrideVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -1,14 +1,23 @@
|
|||||||
package eu.kanade.tachiyomi.extension.pt.lunarscan
|
package eu.kanade.tachiyomi.extension.pt.lunarscan
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
||||||
class LunarScan : Madara(
|
class LunarScan : Madara(
|
||||||
"Lunar Scan",
|
"Lunar Scan",
|
||||||
"https://lunarscan.com.br",
|
"https://lunarrscan.com",
|
||||||
"pt-BR",
|
"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