Update domain for Gekkou Scans (#150)

This commit is contained in:
Vetle Ledaal 2024-01-11 22:27:41 +00:00 committed by Draff
parent c72814cc9a
commit 283c117b49
2 changed files with 11 additions and 2 deletions

View File

@ -3,12 +3,15 @@ package eu.kanade.tachiyomi.extension.pt.gekkouscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class GekkouScans : Madara(
"Gekkou Scans",
"https://gekkouscans.top",
"https://gekkou.site",
"pt-BR",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("pt", "BR")),
) {
// Theme changed from MMRCMS to Madara, again.
@ -22,4 +25,10 @@ class GekkouScans : Madara(
.build()
override val useNewChapterEndpoint: Boolean = true
override val mangaDetailsSelectorTitle = "#manga-title"
override val mangaDetailsSelectorStatus = ".summary-heading:contains(Status) ~ .summary-content"
override fun searchPage(page: Int): String = if (page == 1) "" else "page/$page/"
}

View File

@ -112,7 +112,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("FreeWebtoonCoins", "https://freewebtooncoins.com", "en", overrideVersionCode = 1),
SingleLang("GalaxyDegenScans", "https://gdscans.com", "en", overrideVersionCode = 4),
SingleLang("Gatemanga", "https://gatemanga.com", "ar", overrideVersionCode = 1),
SingleLang("Gekkou Scans", "https://gekkouscans.top", "pt-BR", isNsfw = true, pkgName = "gekkouscan", overrideVersionCode = 1),
SingleLang("Gekkou Scans", "https://gekkou.site", "pt-BR", isNsfw = true, pkgName = "gekkouscan", overrideVersionCode = 2),
SingleLang("Ghost Scan", "https://ghostscan.com.br", "pt-BR", isNsfw = true),
SingleLang("Girls Love Manga!", "https://glmanga.com", "en", isNsfw = true, className = "GirlsLoveManga"),
SingleLang("Glory Manga", "https://glorymanga.com", "tr"),