2022-05-05 22:37:56 +00:00
|
|
|
package eu.kanade.tachiyomi.extension.pt.helascan
|
|
|
|
|
|
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
2022-06-05 21:51:18 +00:00
|
|
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
2022-05-05 22:37:56 +00:00
|
|
|
import okhttp3.OkHttpClient
|
|
|
|
import java.text.SimpleDateFormat
|
|
|
|
import java.util.Locale
|
|
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
|
|
|
|
class HelaScan : Madara(
|
|
|
|
"Hela Scan",
|
|
|
|
"https://helascan.com",
|
|
|
|
"pt-BR",
|
|
|
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
|
|
|
) {
|
|
|
|
|
|
|
|
override val client: OkHttpClient = super.client.newBuilder()
|
2022-06-05 21:51:18 +00:00
|
|
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
2022-05-05 22:37:56 +00:00
|
|
|
.build()
|
|
|
|
|
|
|
|
override val useNewChapterEndpoint = true
|
|
|
|
|
|
|
|
override val mangaDetailsSelectorTag = ""
|
|
|
|
}
|