diff --git a/src/es/mangasnosekai/build.gradle b/src/es/mangasnosekai/build.gradle index 63d3212cb..6444ffc0d 100644 --- a/src/es/mangasnosekai/build.gradle +++ b/src/es/mangasnosekai/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.MangasNoSekai' themePkg = 'madara' baseUrl = 'https://mangasnosekai.com' - overrideVersionCode = 3 + overrideVersionCode = 4 } apply from: "$rootDir/common.gradle" diff --git a/src/es/mangasnosekai/src/eu/kanade/tachiyomi/extension/es/mangasnosekai/MangasNoSekai.kt b/src/es/mangasnosekai/src/eu/kanade/tachiyomi/extension/es/mangasnosekai/MangasNoSekai.kt index d8a44289b..ac0fd0b42 100644 --- a/src/es/mangasnosekai/src/eu/kanade/tachiyomi/extension/es/mangasnosekai/MangasNoSekai.kt +++ b/src/es/mangasnosekai/src/eu/kanade/tachiyomi/extension/es/mangasnosekai/MangasNoSekai.kt @@ -1,13 +1,11 @@ package eu.kanade.tachiyomi.extension.es.mangasnosekai import eu.kanade.tachiyomi.multisrc.madara.Madara -import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.POST import eu.kanade.tachiyomi.network.interceptor.rateLimitHost import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.util.asJsoup -import okhttp3.CacheControl import okhttp3.FormBody import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.Request @@ -29,15 +27,7 @@ class MangasNoSekai : Madara( override val useNewChapterEndpoint = true - override val mangaSubString = "manganews" - - override fun popularMangaRequest(page: Int): Request { - return GET( - url = "$baseUrl/$mangaSubString/${searchPage(page)}?m_orderby=views", - headers = headers, - cache = CacheControl.FORCE_NETWORK, - ) - } + override val mangaSubString = "manganewo" override fun popularMangaSelector() = "div.page-listing-item > div.row > div" @@ -63,14 +53,6 @@ class MangasNoSekai : Madara( return manga } - override fun latestUpdatesRequest(page: Int): Request { - return GET( - url = "$baseUrl/$mangaSubString/${searchPage(page)}?m_orderby=latest", - headers = headers, - cache = CacheControl.FORCE_NETWORK, - ) - } - override fun searchPage(page: Int): String { return if (page > 1) "page/$page/" else "" }