add Hentai20 to madara (#7564)
* Create Hentai20.kt * add hentai20 icon * Update MadaraGenerator.kt * add comma
This commit is contained in:
parent
30188b01d8
commit
f89a84b809
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
|
@ -0,0 +1,46 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.en.hentai20
|
||||||
|
|
||||||
|
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 Hentai20 : Madara("Hentai20", "https://hentai20.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("BL", "bl"),
|
||||||
|
Genre("Comedy", "comedy"),
|
||||||
|
Genre("Drama", "drama"),
|
||||||
|
Genre("Ecchi", "ecchi"),
|
||||||
|
Genre("Fanstasy", "fantasy"),
|
||||||
|
Genre("GL", "gl"),
|
||||||
|
Genre("Harem", "harem"),
|
||||||
|
Genre("Hentai", "hentai"),
|
||||||
|
Genre("Horror", "horror"),
|
||||||
|
Genre("Manga", "manga"),
|
||||||
|
Genre("Manhwa hentai", "manhwa-hentai"),
|
||||||
|
Genre("Martial arts", "martial-arts"),
|
||||||
|
Genre("Mature", "mature"),
|
||||||
|
Genre("Mystery", "mystery"),
|
||||||
|
Genre("Psychological", "psychological"),
|
||||||
|
Genre("Romance", "romance"),
|
||||||
|
Genre("School Life", "school-life"),
|
||||||
|
Genre("Sci-fi", "sci-fi"),
|
||||||
|
Genre("Slice of Life", "slice-of-life"),
|
||||||
|
Genre("Smut", "smut"),
|
||||||
|
Genre("Supernatural", "supernatural"),
|
||||||
|
Genre("Thriller", "thriller"),
|
||||||
|
)
|
||||||
|
}
|
|
@ -70,6 +70,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("Glory Scans", "https://gloryscan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
SingleLang("Glory Scans", "https://gloryscan.com", "pt-BR", isNsfw = true, overrideVersionCode = 1),
|
||||||
SingleLang("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
|
SingleLang("Graze Scans", "https://grazescans.com/", "en", overrideVersionCode = 1),
|
||||||
SingleLang("GuncelManga", "https://guncelmanga.com", "tr"),
|
SingleLang("GuncelManga", "https://guncelmanga.com", "tr"),
|
||||||
|
SingleLang("Hentai20", "https://hentai20.com", "en", isNsfw = true),
|
||||||
SingleLang("Hero Manhua", "https://heromanhua.com", "en"),
|
SingleLang("Hero Manhua", "https://heromanhua.com", "en"),
|
||||||
SingleLang("Heroz Scanlation", "https://herozscans.com", "en", overrideVersionCode = 1),
|
SingleLang("Heroz Scanlation", "https://herozscans.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Himera Fansub", "https://himera-fansub.com", "tr"),
|
SingleLang("Himera Fansub", "https://himera-fansub.com", "tr"),
|
||||||
|
|
Loading…
Reference in New Issue