Add a new source to MangaThemesia (#17603)
Add a new source to MangaThemesia.
This commit is contained in:
parent
3b8d559c32
commit
c0ad7b8459
|
@ -0,0 +1,22 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.pt.arkhamscan
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
|
class ArkhamScan : MangaThemesia(
|
||||||
|
"Arkham Scan",
|
||||||
|
"https://arkhamscan.com",
|
||||||
|
"pt-BR",
|
||||||
|
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val altNamePrefix = "Nomes alternativos: "
|
||||||
|
}
|
|
@ -20,6 +20,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
||||||
MultiLang("Miau Scan", "https://miauscans.com", listOf("es", "pt-BR"), overrideVersionCode = 1),
|
MultiLang("Miau Scan", "https://miauscans.com", listOf("es", "pt-BR"), overrideVersionCode = 1),
|
||||||
SingleLang("Animated Glitched Scans", "https://anigliscans.com", "en"),
|
SingleLang("Animated Glitched Scans", "https://anigliscans.com", "en"),
|
||||||
SingleLang("Arena Scans", "https://arenascans.net", "en", overrideVersionCode = 1),
|
SingleLang("Arena Scans", "https://arenascans.net", "en", overrideVersionCode = 1),
|
||||||
|
SingleLang("Arkham Scan", "https://arkhamscan.com", "pt-BR"),
|
||||||
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
|
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Babel Wuxia", "https://babelwuxia.com", "en", overrideVersionCode = 1),
|
SingleLang("Babel Wuxia", "https://babelwuxia.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Banana-Scan", "https://banana-scan.com", "fr", className = "BananaScan", isNsfw = true),
|
SingleLang("Banana-Scan", "https://banana-scan.com", "fr", className = "BananaScan", isNsfw = true),
|
||||||
|
|
Loading…
Reference in New Issue