Add Prisma Scans to Madara. (#7575)

This commit is contained in:
Alessandro Jean 2021-06-09 18:45:47 -03:00 committed by GitHub
parent c9d3ae21fa
commit d6cd87b712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 25 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -0,0 +1,24 @@
package eu.kanade.tachiyomi.extension.pt.prismascans
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 PrismaScans : Madara(
"Prisma Scans",
"https://prismascans.net",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
) {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
.build()
override val altName = "Nome alternativo: "
override fun popularMangaSelector() = "div.page-item-detail.manga"
}

View File

@ -206,6 +206,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Pojok Manga", "https://pojokmanga.com", "id", overrideVersionCode = 2),
SingleLang("PornComix", "https://www.porncomixonline.net", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Pornwha", "https://pornwha.com", "en", isNsfw = true),
SingleLang("Prisma Scans", "https://prismascans.net", "pt-BR"),
SingleLang("Projeto Scanlator", "https://projetoscanlator.com", "pt-BR", overrideVersionCode = 2),
SingleLang("QueensManga ملكات المانجا", "https://queensmanga.com", "ar", className = "QueensManga"),
SingleLang("Random Scan", "https://randomscan.online", "pt-BR", overrideVersionCode = 3),