Hentai20 Theme Changed Fix (#1043)

* hentai20 Theme Changed

* Create hentai20.kt

Added Rate limit !!

* Add files via upload

* Delete multisrc/overrides/mangathemesia/hentai20/src/hentai20.kt

Removed old class

* Update Hentai20.kt
This commit is contained in:
devil6venom 2024-02-06 12:31:08 +05:45 committed by GitHub
parent 85322584b8
commit 07dea4d2ca
9 changed files with 13 additions and 14 deletions

View File

@ -1,13 +0,0 @@
package eu.kanade.tachiyomi.extension.en.hentai20
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
class Hentai20 : Madara("Hentai20", "https://hentai20.io", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 1, TimeUnit.SECONDS)
.build()
}

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,12 @@
package eu.kanade.tachiyomi.extension.en.hentai20
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
class Hentai20 : MangaThemesia("Hentai20", "https://hentai20.io", "en", "/manga") {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 1, TimeUnit.SECONDS)
.build()
}

View File

@ -118,7 +118,6 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Hentai Manga", "https://hentaimanga.me", "en", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai Teca", "https://hentaiteca.net", "pt-BR", isNsfw = true, overrideVersionCode = 1),
SingleLang("Hentai-Scantrad", "https://hentai.scantrad-vf.cc", "fr", isNsfw = true, className = "HentaiScantrad", overrideVersionCode = 1),
SingleLang("Hentai20", "https://hentai20.io", "en", isNsfw = true, overrideVersionCode = 3),
SingleLang("Hentai3z", "https://hentai3z.xyz", "en", isNsfw = true),
SingleLang("Hentai4Free", "https://hentai4free.net", "en", isNsfw = true),
SingleLang("HentaiRead", "https://hentairead.com", "en", isNsfw = true, className = "Hentairead", overrideVersionCode = 3),

View File

@ -48,6 +48,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Glory Scans", "https://gloryscans.fr", "fr"),
SingleLang("Gremory Mangas", "https://gremorymangas.com", "es"),
SingleLang("Hanuman Scan", "https://hanumanscan.com", "en"),
SingleLang("Hentai20", "https://hentai20.io", "en", isNsfw = true, overrideVersionCode = 9),
SingleLang("Heroxia", "https://heroxia.com", "id", isNsfw = true),
SingleLang("Hikari Scan", "https://hikariscan.org", "pt-BR", isNsfw = true, overrideVersionCode = 2),
SingleLang("Imagine Scan", "https://imaginescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 1),