parent
42a3e238fe
commit
de9bbf252f
|
@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.extension.pt.cerisescans
|
|||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
|
@ -12,7 +13,7 @@ import java.util.concurrent.TimeUnit
|
|||
|
||||
class CeriseScan : Madara(
|
||||
"Cerise Scan",
|
||||
"https://cerisescan.com/home1",
|
||||
"https://cerisescan.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
|
||||
) {
|
||||
|
@ -33,4 +34,12 @@ class CeriseScan : Madara(
|
|||
override fun chapterListRequest(manga: SManga): Request {
|
||||
return GET(baseUrl + manga.url.replace("/home1", ""), headers)
|
||||
}
|
||||
|
||||
override fun pageListRequest(chapter: SChapter): Request {
|
||||
if (chapter.url.startsWith("http")) {
|
||||
return GET(chapter.url.replace("/home1", ""), headers)
|
||||
}
|
||||
|
||||
return GET(baseUrl + chapter.url.replace("/home1", ""), headers)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("CAT-translator", "https://cats-translator.com/manga", "th", className = "CatTranslator", overrideVersionCode = 2),
|
||||
SingleLang("Cat300", "https://cat300.com", "th", isNsfw = true, className = "Cat300", overrideVersionCode = 1),
|
||||
SingleLang("CatOnHeadTranslations", "https://catonhead.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Cerise Scan", "https://cerisescan.com/home1", "pt-BR", pkgName = "cerisescans", isNsfw = true, overrideVersionCode = 6),
|
||||
SingleLang("Cerise Scan", "https://cerisescan.com", "pt-BR", pkgName = "cerisescans", isNsfw = true, overrideVersionCode = 7),
|
||||
SingleLang("Chibi Manga", "https://www.cmreader.info", "en", overrideVersionCode = 1),
|
||||
SingleLang("Clover Manga", "https://clover-manga.com", "tr", overrideVersionCode = 2),
|
||||
SingleLang("Coco Rip", "https://cocorip.net", "es"),
|
||||
|
|
Loading…
Reference in New Issue