add two new sources to madara (#7475)

* Create Hentaidexy.kt

* Create additional.gradle.kts

* add icon

* Update MadaraGenerator.kt

* remove xtra comma

* add nsfw tag

* lewls

* Delete additional.gradle.kts

* Create MangaPL.kt

* add icon

* Update MadaraGenerator.kt
This commit is contained in:
CVIUS 2021-06-05 19:44:28 +08:00 committed by GitHub
parent d0f6f79fe0
commit cc1f2df597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 141 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -0,0 +1,98 @@
package eu.kanade.tachiyomi.extension.en.hentaidexy
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
@Nsfw
class Hentaidexy : Madara("Hentaidexy", "https://hentaidexy.com", "en") {
private val rateLimitInterceptor = RateLimitInterceptor(1)
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.addNetworkInterceptor(rateLimitInterceptor)
.build()
override fun getGenreList() = listOf(
Genre("Action", "action"),
Genre("Adult", "adult"),
Genre("Adventure", "adventure"),
Genre("All Ages", "all-ages"),
Genre("Big Ass", "big-ass"),
Genre("BL", "bl"),
Genre("Blowjob", "blowjob"),
Genre("Body swap", "body-swap"),
Genre("Bondage", "bondage"),
Genre("Censored", "censored"),
Genre("Comedy", "comedy"),
Genre("Comics", "comics"),
Genre("Completed manga", "completed-manga"),
Genre("Cooking", "cooking"),
Genre("Creampie", "creampie"),
Genre("Crime", "crime"),
Genre("Cunnilingus", "cunnilingus"),
Genre("Dirty oldman", "dirty-oldman"),
Genre("Doujinshi", "doujinshi"),
Genre("Drama", "drama"),
Genre("Ecchi", "ecchi"),
Genre("Fanstasy", "fantasy"),
Genre("Fingering", "fingering"),
Genre("Full color", "full-color"),
Genre("Gender bender", "gender-bender"),
Genre("GL", "gl"),
Genre("Gossip", "gossip"),
Genre("Hardcore Vanilla", "hardcore-vanilla"),
Genre("Harem", "harem"),
Genre("Hentai", "hentai"),
Genre("Historical", "historical"),
Genre("Horror", "horror"),
Genre("Incest", "incest"),
Genre("Isekai", "isekai"),
Genre("Josei", "josei"),
Genre("Long strip", "long-strip"),
Genre("Mafia", "mafia"),
Genre("Magic", "magic"),
Genre("Manga", "manga"),
Genre("Manhua", "manhua"),
Genre("Manhwa", "manhwa"),
Genre("Manhwa Hentai Manga", "martial-manhwa-hentai-manga"),
Genre("Martial arts", "martial-arts"),
Genre("Mature", "mature"),
Genre("Mecha", "mecha"),
Genre("Medical", "medical"),
Genre("Mystery", "mystery"),
Genre("NTR", "ntr"),
Genre("Office", "office"),
Genre("One shot", "one-shot"),
Genre("Psychological", "psychological"),
Genre("Rape", "rape"),
Genre("Raw", "raw"),
Genre("Romance", "romance"),
Genre("Sci-fi", "sci-fi"),
Genre("School Life", "school-life"),
Genre("Sci-fi", "sci-fi"),
Genre("Seinen", "seinen"),
Genre("Shoujo", "shoujo"),
Genre("Shoujo ai", "shoujo-ai"),
Genre("Shounen", "shounen"),
Genre("Shounen ai", "shounen-ai"),
Genre("Slice of Life", "slice-of-life"),
Genre("Smut", "smut"),
Genre("Sports", "sports"),
Genre("Supernatural", "supernatural"),
Genre("Thriller", "thriller"),
Genre("Toomics", "toomics"),
Genre("Tragedy", "tragedy"),
Genre("Uncensored", "uncensored"),
Genre("Vampire", "vampire"),
Genre("Vanilla", "vanilla"),
Genre("Web comic", "web-comic"),
Genre("Webtoon", "webtoon"),
Genre("Webtoons", "webtoons"),
Genre("Yaoi", "yaoi"),
Genre("Yuri", "yuri"),
)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -0,0 +1,41 @@
package eu.kanade.tachiyomi.extension.en.mangapl
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
@Nsfw
class MangaPL : Madara("MangaPL", "https://mangapl.com", "en") {
private val rateLimitInterceptor = RateLimitInterceptor(1)
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.connectTimeout(10, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.addNetworkInterceptor(rateLimitInterceptor)
.build()
override fun getGenreList() = listOf(
Genre("Action", "action"),
Genre("Adult", "adult"),
Genre("Adventure", "adventure"),
Genre("Comedy", "comedy"),
Genre("Drama", "drama"),
Genre("Doujinshi", "doujinshi"),
Genre("Drama", "drama"),
Genre("Ecchi", "ecchi"),
Genre("Harem", "harem"),
Genre("Mature", "mature"),
Genre("Mystery", "mystery"),
Genre("Psychological", "psychological"),
Genre("Raw", "raw"),
Genre("Romance", "romance"),
Genre("School Life", "school-life"),
Genre("Seinen", "seinen"),
Genre("Slice of Life", "slice-of-life"),
Genre("Smut", "smut"),
Genre("Supernatural", "supernatural"),
Genre("Tragedy", "tragedy"),
)
}

View File

@ -280,6 +280,8 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Free Manga", "https://freemanga.me", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("MangaTuli", "https://mangatuli.com", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("ManhuaPro", "https://manhuapro.com", "en", overrideVersionCode = 1),
SingleLang("Hentaidexy", "https://hentaidexy.com", "en", isNsfw = true),
SingleLang("MangaPL", "https://mangapl.com", "en", isNsfw = true)
)
companion object {