Add two new sources to Madara. (#8632)

This commit is contained in:
Alessandro Jean 2021-08-18 15:17:42 -03:00 committed by GitHub
parent 614f2a997b
commit bc31afd4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,26 @@
package eu.kanade.tachiyomi.extension.pt.animecenterscan
import eu.kanade.tachiyomi.annotations.Nsfw
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
@Nsfw
class AnimeCenterScan : Madara(
"Anime Center Scan",
"https://animecenterscan.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 altName: String = "Nome alternativo: "
override fun popularMangaSelector() = "div.page-item-detail.manga"
}

View File

@ -0,0 +1,24 @@
package eu.kanade.tachiyomi.extension.pt.kamisamaexplorer
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 KamiSamaExplorer : Madara(
"Kami Sama Explorer",
"https://kamisama.com.br",
"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 altName: String = "Nome alternativo: "
override fun popularMangaSelector() = "div.page-item-detail.manga"
}

View File

@ -30,6 +30,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("AkuManga", "https://akumanga.com", "ar", overrideVersionCode = 1),
SingleLang("AllPornComic", "https://allporncomic.com", "en", isNsfw = true),
SingleLang("Ancient Empire Scan", "https://ancientempirescan.website", "es", overrideVersionCode = 1),
SingleLang("Anime Center Scan", "https://animecenterscan.com", "pt-BR", isNsfw = true),
SingleLang("Aqua Manga", "https://aquamanga.com", "en"),
SingleLang("Anisa Manga", "https://anisamanga.com", "tr"),
SingleLang("ApollComics", "https://apollcomics.xyz", "es", overrideVersionCode = 1),
@ -122,6 +123,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Its Your Right Manhua", "https://itsyourightmanhua.com/", "en", overrideVersionCode = 1),
SingleLang("JaiminisBox.net", "https://jaiminisbox.net", "en", className = "Jaiminisboxnet"),
SingleLang("Jiro Comics", "https://jirocomics.com", "en", isNsfw = true),
SingleLang("Kami Sama Explorer", "https://kamisama.com.br", "pt-BR"),
SingleLang("KawaScans", "https://kawascans.com", "en"),
SingleLang("KisekiManga", "https://kisekimanga.com", "en", overrideVersionCode = 1),
SingleLang("Kissmanga.in", "https://kissmanga.in", "en", className= "KissmangaIn", overrideVersionCode = 2),