From 651ed9f3cfe27a2afc6f5559957fdd4e5b32fcaf Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:15:06 -0300 Subject: [PATCH] KappaBeast: Fix popular, latest and search (#5446) Fix popular, latest and search --- src/en/kappabeast/build.gradle | 2 +- .../extension/en/kappabeast/KappaBeast.kt | 20 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/en/kappabeast/build.gradle b/src/en/kappabeast/build.gradle index d82622386..aa61e9b1b 100644 --- a/src/en/kappabeast/build.gradle +++ b/src/en/kappabeast/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.KappaBeast' themePkg = 'mangathemesia' baseUrl = 'https://kappabeast.com' - overrideVersionCode = 0 + overrideVersionCode = 1 } apply from: "$rootDir/common.gradle" diff --git a/src/en/kappabeast/src/eu/kanade/tachiyomi/extension/en/kappabeast/KappaBeast.kt b/src/en/kappabeast/src/eu/kanade/tachiyomi/extension/en/kappabeast/KappaBeast.kt index 8aec1e03d..6f5371dae 100644 --- a/src/en/kappabeast/src/eu/kanade/tachiyomi/extension/en/kappabeast/KappaBeast.kt +++ b/src/en/kappabeast/src/eu/kanade/tachiyomi/extension/en/kappabeast/KappaBeast.kt @@ -2,37 +2,17 @@ package eu.kanade.tachiyomi.extension.en.kappabeast import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.network.interceptor.rateLimit -import eu.kanade.tachiyomi.source.model.FilterList import org.jsoup.nodes.Document class KappaBeast : MangaThemesia( "Kappa Beast", "https://kappabeast.com", "en", - mangaUrlDirectory = "/series", ) { override val client = super.client.newBuilder() .rateLimit(3) .build() - override val typeFilterOptions = arrayOf( - Pair(intl["type_filter_option_manga"], "manga"), - ) - - override val popularFilter = FilterList( - OrderByFilter("", orderByFilterOptions, "popular"), - TypeFilter("", typeFilterOptions), - ) - - override val latestFilter = FilterList( - OrderByFilter("", orderByFilterOptions, "update"), - TypeFilter("", typeFilterOptions), - ) - - override fun searchMangaSelector() = ".listupd .maindet" - - override val seriesThumbnailSelector = ".sertothumb .ts-post-image" - override val pageSelector = ".epcontent.entry-content img" override fun parseGenres(document: Document): List {