From a3a00e5346e7c337ed4057d34d5024ac744440c3 Mon Sep 17 00:00:00 2001 From: Mike <51273546+SnakeDoc83@users.noreply.github.com> Date: Sat, 27 Jan 2024 01:48:59 -0500 Subject: [PATCH] Prune HentaiHand (#687) * Prune HentaiHand * comma --- .../hentaihand/hentaisphere/src/HentaiSphere.kt | 10 ---------- .../overrides/hentaihand/readmanhwa/src/ReadManhwa.kt | 10 ---------- .../multisrc/hentaihand/HentaiHandGenerator.kt | 2 -- 3 files changed, 22 deletions(-) delete mode 100644 multisrc/overrides/hentaihand/hentaisphere/src/HentaiSphere.kt delete mode 100644 multisrc/overrides/hentaihand/readmanhwa/src/ReadManhwa.kt diff --git a/multisrc/overrides/hentaihand/hentaisphere/src/HentaiSphere.kt b/multisrc/overrides/hentaihand/hentaisphere/src/HentaiSphere.kt deleted file mode 100644 index 4a9a7109d..000000000 --- a/multisrc/overrides/hentaihand/hentaisphere/src/HentaiSphere.kt +++ /dev/null @@ -1,10 +0,0 @@ -package eu.kanade.tachiyomi.extension.en.hentaisphere - -import eu.kanade.tachiyomi.multisrc.hentaihand.HentaiHand -import okhttp3.OkHttpClient - -class HentaiSphere : HentaiHand("HentaiSphere", "https://hentaisphere.com", "en", false) { - override val client: OkHttpClient = network.cloudflareClient.newBuilder() - .addInterceptor { authIntercept(it) } - .build() -} diff --git a/multisrc/overrides/hentaihand/readmanhwa/src/ReadManhwa.kt b/multisrc/overrides/hentaihand/readmanhwa/src/ReadManhwa.kt deleted file mode 100644 index 031172fd8..000000000 --- a/multisrc/overrides/hentaihand/readmanhwa/src/ReadManhwa.kt +++ /dev/null @@ -1,10 +0,0 @@ -package eu.kanade.tachiyomi.extension.en.readmanhwa - -import eu.kanade.tachiyomi.multisrc.hentaihand.HentaiHand -import okhttp3.OkHttpClient - -class ReadManhwa : HentaiHand("ReadManhwa", "https://readmanhwa.com", "en", true) { - override val client: OkHttpClient = network.cloudflareClient.newBuilder() - .addInterceptor { authIntercept(it) } - .build() -} diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/hentaihand/HentaiHandGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/hentaihand/HentaiHandGenerator.kt index 48fa6b98d..3b5a4855c 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/hentaihand/HentaiHandGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/hentaihand/HentaiHandGenerator.kt @@ -15,9 +15,7 @@ class HentaiHandGenerator : ThemeSourceGenerator { override val sources = listOf( MultiLang("HentaiHand", "https://hentaihand.com", listOf("all", "ja", "en", "zh", "bg", "ceb", "other", "tl", "ar", "el", "sr", "jv", "uk", "tr", "fi", "la", "mn", "eo", "sk", "cs", "ko", "ru", "it", "es", "pt-BR", "th", "fr", "id", "vi", "de", "pl", "hu", "nl", "hi"), isNsfw = true, overrideVersionCode = 5), MultiLang("nHentai.com (unoriginal)", "https://nhentai.com", listOf("all", "ja", "en", "zh", "bg", "ceb", "other", "tl", "ar", "el", "sr", "jv", "uk", "tr", "fi", "la", "mn", "eo", "sk", "cs", "ko", "ru", "it", "es", "pt-BR", "th", "fr", "id", "vi", "de", "pl", "hu", "nl", "hi"), isNsfw = true, className = "NHentaiComFactory", overrideVersionCode = 4), - SingleLang("HentaiSphere", "https://hentaisphere.com", "en", isNsfw = true), SingleLang("ManhwaClub", "https://manhwa.club", "en", isNsfw = true, overrideVersionCode = 3), - SingleLang("ReadManhwa", "https://readmanhwa.com", "en", isNsfw = true, overrideVersionCode = 10), ) companion object {