Add three new sources to Madara (#16081)
Add three new sources to Madara.
This commit is contained in:
parent
2a3d267721
commit
e3d27184ae
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.cookietoon
|
||||||
|
|
||||||
|
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 CookieToon : Madara(
|
||||||
|
"CookieToon",
|
||||||
|
"https://cookietoon.online",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.moonwitchinlove
|
||||||
|
|
||||||
|
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 MoonWitchInLove : Madara(
|
||||||
|
"Moon Witch In Love",
|
||||||
|
"https://moonwitchinlovescan.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.peachscan
|
||||||
|
|
||||||
|
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 PeachScan : Madara(
|
||||||
|
"Peach Scan",
|
||||||
|
"https://www.peachscan.com",
|
||||||
|
"pt-BR",
|
||||||
|
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
}
|
|
@ -70,6 +70,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Comics Valley", "https://comicsvalley.com", "hi", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Comics Valley", "https://comicsvalley.com", "hi", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("ComicsWorld", "https://comicsworld.in", "hi"),
|
SingleLang("ComicsWorld", "https://comicsworld.in", "hi"),
|
||||||
SingleLang("Comictoon", "https://comictoonthaith-new.com", "th", isNsfw = true),
|
SingleLang("Comictoon", "https://comictoonthaith-new.com", "th", isNsfw = true),
|
||||||
|
SingleLang("CookieToon", "https://cookietoon.online", "pt-BR"),
|
||||||
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("Cronos Scan", "https://cronosscan.net", "pt-BR", overrideVersionCode = 1),
|
SingleLang("Cronos Scan", "https://cronosscan.net", "pt-BR", overrideVersionCode = 1),
|
||||||
|
@ -312,6 +313,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("MMScans", "https://mm-scans.org", "en", overrideVersionCode = 4),
|
SingleLang("MMScans", "https://mm-scans.org", "en", overrideVersionCode = 4),
|
||||||
SingleLang("Momo no Hana Scan", "https://momonohanascan.com", "pt-BR", className = "MomoNoHanaScan", overrideVersionCode = 1),
|
SingleLang("Momo no Hana Scan", "https://momonohanascan.com", "pt-BR", className = "MomoNoHanaScan", overrideVersionCode = 1),
|
||||||
SingleLang("MonarcaManga", "https://monarcamanga.com", "es"),
|
SingleLang("MonarcaManga", "https://monarcamanga.com", "es"),
|
||||||
|
SingleLang("Moon Witch In Love", "https://moonwitchinlovescan.com", "pt-BR"),
|
||||||
SingleLang("Mortals Groove", "https://mortalsgroove.com", "en", overrideVersionCode = 1),
|
SingleLang("Mortals Groove", "https://mortalsgroove.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("MR Yaoi Fansub", "https://mrbenne.com", "pt-BR", isNsfw = true, className = "MrYaoiFansub", overrideVersionCode = 1),
|
SingleLang("MR Yaoi Fansub", "https://mrbenne.com", "pt-BR", isNsfw = true, className = "MrYaoiFansub", overrideVersionCode = 1),
|
||||||
SingleLang("Muctau", "https://bibimanga.com", "en", isNsfw = true, overrideVersionCode = 4),
|
SingleLang("Muctau", "https://bibimanga.com", "en", isNsfw = true, overrideVersionCode = 4),
|
||||||
|
@ -332,6 +334,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Novels Town", "https://novelstown.cyou", "ar"),
|
SingleLang("Novels Town", "https://novelstown.cyou", "ar"),
|
||||||
SingleLang("Oh No Manga", "https://ohnomanga.com", "en", isNsfw = true),
|
SingleLang("Oh No Manga", "https://ohnomanga.com", "en", isNsfw = true),
|
||||||
SingleLang("Painful Nightz Scan", "https://painfulnightz.com", "en", overrideVersionCode = 1),
|
SingleLang("Painful Nightz Scan", "https://painfulnightz.com", "en", overrideVersionCode = 1),
|
||||||
|
SingleLang("Peach Scan", "https://www.peachscan.com", "pt-BR", isNsfw = true),
|
||||||
SingleLang("Petrotechsociety", "https://www.petrotechsociety.org", "en", isNsfw = true),
|
SingleLang("Petrotechsociety", "https://www.petrotechsociety.org", "en", isNsfw = true),
|
||||||
SingleLang("Pian Manga", "https://pianmanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Pian Manga", "https://pianmanga.me", "en", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
SingleLang("Pirulito Rosa", "https://pirulitorosa.site", "pt-BR", isNsfw = true),
|
||||||
|
|
Loading…
Reference in New Issue