Add Prisma Scans to Madara. (#7575)
This commit is contained in:
parent
c9d3ae21fa
commit
d6cd87b712
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 |
|
@ -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"
|
||||
}
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue