parent
ae11ac0920
commit
6a1baf26b8
@ -0,0 +1,28 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.pt.estufadecristal
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.source.model.SChapter
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import okhttp3.Response
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class EstufaDeCristal : Madara(
|
||||||
|
"Estufa de Cristal",
|
||||||
|
"https://scanestufadecristal.site",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
|
return super.chapterListParse(response).reversed()
|
||||||
|
}
|
||||||
|
}
|
@ -91,6 +91,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||||||
SingleLang("Eromanhwas", "https://eromanhwas.com", "en"),
|
SingleLang("Eromanhwas", "https://eromanhwas.com", "en"),
|
||||||
SingleLang("Esomanga", "http://esomanga.com", "tr"),
|
SingleLang("Esomanga", "http://esomanga.com", "tr"),
|
||||||
SingleLang("Eternal Scans", "https://eternalscans.com", "en"),
|
SingleLang("Eternal Scans", "https://eternalscans.com", "en"),
|
||||||
|
SingleLang("Estufa de Cristal", "https://scanestufadecristal.site", "pt-BR", className = "EstufaDeCristal"),
|
||||||
SingleLang("FDM Scan", "https://fdmscan.com", "pt-BR", overrideVersionCode = 3),
|
SingleLang("FDM Scan", "https://fdmscan.com", "pt-BR", overrideVersionCode = 3),
|
||||||
SingleLang("FaeStorm", "https://faestormmanga.com", "tr"),
|
SingleLang("FaeStorm", "https://faestormmanga.com", "tr"),
|
||||||
SingleLang("FastManhwa", "https://fastmanhwa.net", "en", isNsfw = true, overrideVersionCode = 2),
|
SingleLang("FastManhwa", "https://fastmanhwa.net", "en", isNsfw = true, overrideVersionCode = 2),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user