Update URL and add a new Madara source (#17457)

Update URL and add a new Madara source.
This commit is contained in:
Alessandro Jean 2023-08-09 16:43:55 -03:00 committed by GitHub
parent a66beaf8d3
commit 950c1acb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit
class NinjaScan : Madara(
"Ninja Scan",
"https://ninjascan.xyz",
"https://ninjascan.site",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
) {
@ -17,4 +17,6 @@ class NinjaScan : Madara(
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}

View File

@ -0,0 +1,20 @@
package eu.kanade.tachiyomi.extension.pt.wickedwitchscan
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 WickedWitchScan : Madara(
"Wicked Witch Scan",
"https://wickedwitchscan.com",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
}

View File

@ -326,7 +326,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("NekoScan", "https://nekoscan.com", "en", overrideVersionCode = 2),
SingleLang("Night Comic", "https://www.nightcomic.com", "en", overrideVersionCode = 1),
SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1),
SingleLang("Ninja Scan", "https://ninjascan.xyz", "pt-BR", overrideVersionCode = 1),
SingleLang("Ninja Scan", "https://ninjascan.site", "pt-BR", overrideVersionCode = 2),
SingleLang("Nitro Scans", "https://nitroscans.com", "en"),
SingleLang("No Index Scan", "https://noindexscan.com", "pt-BR", isNsfw = true),
SingleLang("Nocturne Summer", "https://nocsummer.com.br", "pt-BR", isNsfw = true),
@ -444,6 +444,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("WebtoonsTOP", "https://webtoons.top", "en", isNsfw = true),
SingleLang("WebtoonUK", "https://webtoon.uk", "en", overrideVersionCode = 2),
SingleLang("WebtoonXYZ", "https://www.webtoon.xyz", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Wicked Witch Scan", "https://wickedwitchscan.com", "pt-BR"),
SingleLang("Winter Scan", "https://winterscan.com", "pt-BR", overrideVersionCode = 4),
SingleLang("Wonderland Scan", "https://wonderlandscan.com", "pt-BR", overrideVersionCode = 3),
SingleLang("WoopRead", "https://woopread.com", "en", overrideVersionCode = 1),