diff --git a/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt index 6723ba954..73dc3ec62 100644 --- a/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt +++ b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt @@ -1,25 +1,7 @@ package eu.kanade.tachiyomi.extension.en.adultwebtoon import eu.kanade.tachiyomi.multisrc.madara.Madara -import eu.kanade.tachiyomi.network.GET -import okhttp3.CacheControl -import okhttp3.Request class AdultWebtoon : Madara("Adult Webtoon", "https://adultwebtoon.com", "en") { - override fun popularMangaRequest(page: Int): Request { - val pageSuffix = if (page != 1) "page/$page/" else "" - return GET( - "$baseUrl/manga/$pageSuffix?m_orderby=trending", - headers, - CacheControl.FORCE_NETWORK, - ) - } - override fun latestUpdatesRequest(page: Int): Request { - val pageSuffix = if (page != 1) "page/$page/" else "" - return GET( - "$baseUrl/manga/$pageSuffix?m_orderby=latest", - headers, - CacheControl.FORCE_NETWORK, - ) - } + override val mangaSubString = "adult-webtoon" } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 5685d14e1..f98752984 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -24,7 +24,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("247Manga", "https://247manga.com", "en", className = "Manga247", overrideVersionCode = 1), SingleLang("365Manga", "https://365manga.com", "en", className = "ThreeSixtyFiveManga", overrideVersionCode = 1), SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1), - SingleLang("Adult Webtoon", "https://adultwebtoon.com", "en", isNsfw = true, overrideVersionCode = 1), + SingleLang("Adult Webtoon", "https://adultwebtoon.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("Akimangá", "https://akimanga.com", "pt-BR", isNsfw = true, className = "Akimanga"), SingleLang("AkuManga", "https://akumanga.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("Akuzenai Arts", "https://akuzenaiarts.org", "en"),