Add two new sources to Madara and move another to WMS. (#7932)

This commit is contained in:
Alessandro Jean 2021-07-02 09:15:20 -03:00 committed by GitHub
parent 4caedfcf68
commit 3e91a7dfa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 88 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

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

View File

@ -1,4 +1,4 @@
package eu.kanade.tachiyomi.extension.pt.geassscan
package eu.kanade.tachiyomi.extension.pt.vaposcan
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara
@ -7,11 +7,11 @@ import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class GeassScan : Madara(
"Geass Scan",
"https://geassscan.xyz",
class VapoScan : Madara(
"Vapo Scan",
"https://vaposcan.net",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR"))
) {
override val client: OkHttpClient = super.client.newBuilder()

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -0,0 +1,53 @@
package eu.kanade.tachiyomi.extension.pt.geassscanlator
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class GeassScanlator : WPMangaStream(
"Geass Scanlator",
"https://geassscan.xyz",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR"))
) {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
.build()
override val altName: String = "Nome alternativo: "
// [...document.querySelectorAll('ul.genrez li')]
// .map(x => `Genre("${x.querySelector("label").innerHTML}", "${x.querySelector("input").value}")`)
// .join(',\n')
override fun getGenreList(): List<Genre> = listOf(
Genre("Ação", "acao"),
Genre("Artes Marciais", "artes-marciais"),
Genre("Aventura", "aventura"),
Genre("Comédia", "comedia"),
Genre("Drama", "drama"),
Genre("Ecchi", "ecchi"),
Genre("Escolar", "escolar"),
Genre("Fantasia", "fantasia"),
Genre("Harem", "harem"),
Genre("Histórico", "historico"),
Genre("Horror", "horror"),
Genre("Magia", "magia"),
Genre("Manga", "manga"),
Genre("Manhua", "manhua"),
Genre("Mistério", "misterio"),
Genre("Romance", "romance"),
Genre("Sci-fi", "sci-fi"),
Genre("Seinen", "seinen"),
Genre("Shoujo", "shoujo"),
Genre("Shounen", "shounen"),
Genre("Shounen Ai", "shounen-ai"),
Genre("Slice of Life", "slice-of-life"),
Genre("Sobrenatural", "sobrenatural"),
Genre("Suspense", "suspense"),
Genre("Webtoon", "webtoon")
)
}

View File

@ -77,7 +77,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Furio Scans", "https://furioscans.com", "pt-BR", overrideVersionCode = 2),
SingleLang("Fênix Scanlator", "https://fenixscanlator.xyz", "pt-BR", pkgName = "fenixscanlator", className = "FenixScanlator", overrideVersionCode = 1),
SingleLang("GalaxyDegenScans", "https://gdegenscans.xyz/", "en", overrideVersionCode = 1),
SingleLang("Geass Scan", "https://geassscan.xyz", "pt-BR"),
SingleLang("Geass Hentai", "https://geasshentai.xyz", "pt-BR", isNsfw = true),
SingleLang("Glory Scans", "https://gloryscan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
SingleLang("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
SingleLang("GuncelManga", "https://guncelmanga.com", "tr", overrideVersionCode = 1),
@ -280,6 +280,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", overrideVersionCode = 1),
SingleLang("Vanguard Bun", "https://vanguardbun.com/", "en", overrideVersionCode = 1),
SingleLang("Vapo Scan", "https://vaposcan.net", "pt-BR"),
SingleLang("Visbellum", "https://visbellum.com", "pt-BR", overrideVersionCode = 1),
SingleLang("Volkan Scans", "https://volkanscans.com", "en", overrideVersionCode = 1),
SingleLang("Wakamics", "https://wakamics.net", "en"),

View File

@ -43,7 +43,8 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("The Apollo Team", "https://theapollo.team", "en"),
SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true, overrideVersionCode = 2),
SingleLang("Lemon Juice Scan", "https://lemonjuicescan.com", "pt-BR", isNsfw = true),
SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es")
SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es"),
SingleLang("Geass Scanlator", "https://geassscan.xyz", "pt-BR")
)
companion object {