Add two new sources to Madara. (#12883)
This commit is contained in:
parent
511eb5f157
commit
fd526197c7
|
@ -0,0 +1,22 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.amuy
|
||||
|
||||
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 Amuy : Madara(
|
||||
"Amuy",
|
||||
"https://amuyscans.com",
|
||||
"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,20 @@
|
|||
package eu.kanade.tachiyomi.extension.pt.mangasoverall
|
||||
|
||||
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 MangasOverall : Madara(
|
||||
"Mangás Overall",
|
||||
"https://mangasoverall.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR"))
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
}
|
|
@ -42,6 +42,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Akuzenai Arts", "https://akuzenaiarts.org", "en"),
|
||||
SingleLang("AllPornComic", "https://allporncomic.com", "en", isNsfw = true),
|
||||
SingleLang("AllTopManga", "https://alltopmanga.com", "en", isNsfw = true),
|
||||
SingleLang("Amuy", "https://amuyscans.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("Anikiga", "https://anikiga.com", "tr"),
|
||||
SingleLang("Anime Center Scan", "https://animecenterscan.com", "pt-BR", isNsfw = true),
|
||||
SingleLang("Anisa Manga", "https://anisamanga.com", "tr"),
|
||||
|
@ -298,6 +299,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manganato.info", "https://manganato.info", "en", className = "Manganatoinfo"),
|
||||
SingleLang("Mangas Origines X", "https://x.mangas-origines.fr", "fr", isNsfw = true),
|
||||
SingleLang("Mangas Origines", "https://mangas-origines.fr", "fr", isNsfw = true, overrideVersionCode = 2),
|
||||
SingleLang("Mangás Overall", "https://mangasoverall.com", "pt-BR", className = "MangasOverall"),
|
||||
SingleLang("Mangas18", "https://mangas18.com", "en"),
|
||||
SingleLang("Mangasushi", "https://mangasushi.net", "en", overrideVersionCode = 2),
|
||||
SingleLang("Mangauptocats", "https://mangauptocats.online", "th", overrideVersionCode = 2),
|
||||
|
|
Loading…
Reference in New Issue