Add two new sources to Madara. (#11748)
This commit is contained in:
parent
6afdc59180
commit
b798f17039
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.covenscan
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class CovenScan : Madara(
|
||||||
|
"Coven Scan",
|
||||||
|
"https://covenscan.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.helascan
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class HelaScan : Madara(
|
||||||
|
"Hela Scan",
|
||||||
|
"https://helascan.com",
|
||||||
|
"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 val mangaDetailsSelectorTag = ""
|
||||||
|
}
|
|
@ -75,6 +75,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Comictoon", "https://comictoonthaith-new.com", "th", isNsfw = true),
|
SingleLang("Comictoon", "https://comictoonthaith-new.com", "th", isNsfw = true),
|
||||||
SingleLang("Cookie Kiara", "https://18.kiara.cool", "en", isNsfw = true),
|
SingleLang("Cookie Kiara", "https://18.kiara.cool", "en", isNsfw = true),
|
||||||
SingleLang("CopyPasteScan", "https://copypastescan.xyz", "es", overrideVersionCode = 1),
|
SingleLang("CopyPasteScan", "https://copypastescan.xyz", "es", overrideVersionCode = 1),
|
||||||
|
SingleLang("Coven Scan", "https://covenscan.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Cronos Scan", "https://cronosscan.net", "pt-BR", overrideVersionCode = 1),
|
SingleLang("Cronos Scan", "https://cronosscan.net", "pt-BR", overrideVersionCode = 1),
|
||||||
SingleLang("DarkYue Realm", "https://darkyuerealm.site/web", "pt-BR", pkgName = "darkyurealm", overrideVersionCode = 4),
|
SingleLang("DarkYue Realm", "https://darkyuerealm.site/web", "pt-BR", pkgName = "darkyurealm", overrideVersionCode = 4),
|
||||||
SingleLang("Decadence Scans", "https://reader.decadencescans.com", "en", isNsfw = true, overrideVersionCode = 2),
|
SingleLang("Decadence Scans", "https://reader.decadencescans.com", "en", isNsfw = true, overrideVersionCode = 2),
|
||||||
|
@ -120,6 +121,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Harimanga", "https://harimanga.com", "en", overrideVersionCode = 1),
|
SingleLang("Harimanga", "https://harimanga.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true),
|
SingleLang("Hattori Manga", "https://hattorimanga.com", "tr", isNsfw = true),
|
||||||
SingleLang("Hayalistic", "https://hayalistic.com", "tr"),
|
SingleLang("Hayalistic", "https://hayalistic.com", "tr"),
|
||||||
|
SingleLang("Hela Scan", "https://helascan.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Hentai CB", "https://hentaicb.top", "vi", isNsfw = true, overrideVersionCode = 1, pkgName = "hentaicube"),
|
SingleLang("Hentai CB", "https://hentaicb.top", "vi", isNsfw = true, overrideVersionCode = 1, pkgName = "hentaicube"),
|
||||||
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||||
|
|
Loading…
Reference in New Issue