2021-06-09 21:45:47 +00:00
|
|
|
package eu.kanade.tachiyomi.extension.pt.prismascans
|
|
|
|
|
|
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
2022-06-05 21:51:18 +00:00
|
|
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
2021-06-09 21:45:47 +00:00
|
|
|
import okhttp3.OkHttpClient
|
|
|
|
import java.text.SimpleDateFormat
|
|
|
|
import java.util.Locale
|
|
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
|
2023-11-10 15:32:07 +00:00
|
|
|
class DemonSect : Madara(
|
|
|
|
"Demon Sect",
|
|
|
|
"https://demonsect.com.br",
|
2021-06-09 21:45:47 +00:00
|
|
|
"pt-BR",
|
2023-10-03 20:38:15 +00:00
|
|
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
|
2021-06-09 21:45:47 +00:00
|
|
|
) {
|
|
|
|
|
2023-11-10 15:32:07 +00:00
|
|
|
// Changed their name from Prisma Scans to Demon Sect.
|
|
|
|
override val id: Long = 8168108118738519332
|
|
|
|
|
2021-06-09 21:45:47 +00:00
|
|
|
override val client: OkHttpClient = super.client.newBuilder()
|
2022-06-05 21:51:18 +00:00
|
|
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
2021-06-09 21:45:47 +00:00
|
|
|
.build()
|
|
|
|
|
2021-10-01 21:35:24 +00:00
|
|
|
override val useNewChapterEndpoint = true
|
2021-06-09 21:45:47 +00:00
|
|
|
}
|