parent
05c2a47a17
commit
d418d46b23
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.mangaschan
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangasChan : WPMangaReader(
|
||||
"Mangás Chan",
|
||||
"https://mangaschan.com",
|
||||
"pt-BR",
|
||||
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.addNetworkInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||
.build()
|
||||
|
||||
override val altName = "Nome alternativo: "
|
||||
}
|
|
@ -24,6 +24,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||
SingleLang("MangaKita", "https://mangakita.net", "id", overrideVersionCode = 1),
|
||||
SingleLang("Gabut Scans", "https://gabutscans.com", "id"),
|
||||
SingleLang("Graze Scans", "https://grazescans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Mangás Chan", "https://mangaschan.com", "pt-BR", className = "MangasChan"),
|
||||
SingleLang("Martial Manga", "https://martialmanga.com", "es"),
|
||||
SingleLang("Ngomik", "https://ngomik.net", "id", overrideVersionCode = 1),
|
||||
SingleLang("Sekaikomik", "https://www.sekaikomik.site", "id", isNsfw = true, overrideVersionCode = 8),
|
||||
|
|
Loading…
Reference in New Issue