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
@ -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()
|
||||
}
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
12
multisrc/overrides/mangathemesia/hentai20/src/Hentai20.kt
Normal 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()
|
||||
}
|
@ -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),
|
||||
|
@ -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),
|
||||
|