Update domain for Gekkou Scans (#150)
This commit is contained in:
parent
c72814cc9a
commit
283c117b49
|
@ -3,12 +3,15 @@ package eu.kanade.tachiyomi.extension.pt.gekkouscan
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
class GekkouScans : Madara(
|
class GekkouScans : Madara(
|
||||||
"Gekkou Scans",
|
"Gekkou Scans",
|
||||||
"https://gekkouscans.top",
|
"https://gekkou.site",
|
||||||
"pt-BR",
|
"pt-BR",
|
||||||
|
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("pt", "BR")),
|
||||||
) {
|
) {
|
||||||
|
|
||||||
// Theme changed from MMRCMS to Madara, again.
|
// Theme changed from MMRCMS to Madara, again.
|
||||||
|
@ -22,4 +25,10 @@ class GekkouScans : Madara(
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
override val useNewChapterEndpoint: Boolean = true
|
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/"
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("FreeWebtoonCoins", "https://freewebtooncoins.com", "en", overrideVersionCode = 1),
|
SingleLang("FreeWebtoonCoins", "https://freewebtooncoins.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("GalaxyDegenScans", "https://gdscans.com", "en", overrideVersionCode = 4),
|
SingleLang("GalaxyDegenScans", "https://gdscans.com", "en", overrideVersionCode = 4),
|
||||||
SingleLang("Gatemanga", "https://gatemanga.com", "ar", overrideVersionCode = 1),
|
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("Ghost Scan", "https://ghostscan.com.br", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Girls Love Manga!", "https://glmanga.com", "en", isNsfw = true, className = "GirlsLoveManga"),
|
SingleLang("Girls Love Manga!", "https://glmanga.com", "en", isNsfw = true, className = "GirlsLoveManga"),
|
||||||
SingleLang("Glory Manga", "https://glorymanga.com", "tr"),
|
SingleLang("Glory Manga", "https://glorymanga.com", "tr"),
|
||||||
|
|
Loading…
Reference in New Issue