diff --git a/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt index 1033f95d3..0f9fcb691 100644 --- a/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt +++ b/multisrc/overrides/madara/adultwebtoon/src/AdultWebtoon.kt @@ -5,19 +5,21 @@ import eu.kanade.tachiyomi.network.GET import okhttp3.CacheControl import okhttp3.Request -class AdultWebtoon : Madara("Adult Webtoon", "https://adultwebtoon.com/", "en") { +class AdultWebtoon : Madara("Adult Webtoon", "https://adultwebtoon.com", "en") { override val useLoadMoreSearch = false override fun popularMangaRequest(page: Int): Request { + val pageSuffix = if (page != 1) "page/$page/" else "" return GET( - "$baseUrl/manga/?m_orderby=trending", + "$baseUrl/manga/$pageSuffix?m_orderby=trending", formHeaders, CacheControl.FORCE_NETWORK ) } override fun latestUpdatesRequest(page: Int): Request { + val pageSuffix = if (page != 1) "page/$page/" else "" return GET( - "$baseUrl/manga/?m_orderby=latest", + "$baseUrl/manga/$pageSuffix?m_orderby=latest", formHeaders, CacheControl.FORCE_NETWORK ) 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 efddc8080..bc6f2c531 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 @@ -27,7 +27,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("365Manga", "https://365manga.com", "en", className = "ThreeSixtyFiveManga", overrideVersionCode = 1), SingleLang("Adonis Fansub", "https://manga.adonisfansub.com", "tr", overrideVersionCode = 1), SingleLang("Adult Painful Nightz", "https://adults.painfulnightz.com", "en", isNsfw = true), - SingleLang("Adult Webtoon", "https://adultwebtoon.com/", "en", isNsfw = true), + SingleLang("Adult Webtoon", "https://adultwebtoon.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("AiYuManga", "https://aiyumangascanlation.com", "es"), SingleLang("Akuma no Tenshi", "https://akumanotenshi.com", "pt-BR", className = "AkumaNoTenshi"), SingleLang("AkuManga", "https://akumanga.com", "ar", overrideVersionCode = 1),