diff --git a/multisrc/overrides/wpmangareader/gsnation/src/GSNation.kt b/multisrc/overrides/wpmangareader/gsnation/src/GSNation.kt index 92899f13a..76777bda2 100644 --- a/multisrc/overrides/wpmangareader/gsnation/src/GSNation.kt +++ b/multisrc/overrides/wpmangareader/gsnation/src/GSNation.kt @@ -11,8 +11,8 @@ import java.util.Locale class GSNation : WPMangaReader("GS Nation", "http://gs-nation.fr", "fr", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale.FRANCE)) { // remove the novels from the response - override fun popularMangaParse(response: Response): MangasPage { - val mangasPage = super.popularMangaParse(response) + override fun searchMangaParse(response: Response): MangasPage { + val mangasPage = super.searchMangaParse(response) return MangasPage( mangasPage.mangas @@ -22,9 +22,9 @@ class GSNation : WPMangaReader("GS Nation", "http://gs-nation.fr", "fr", dateFor ) } - override fun latestUpdatesParse(response: Response): MangasPage = popularMangaParse(response) + override fun latestUpdatesParse(response: Response): MangasPage = searchMangaParse(response) - override fun searchMangaParse(response: Response): MangasPage = popularMangaParse(response) + override fun popularMangaParse(response: Response): MangasPage = searchMangaParse(response) override fun mangaDetailsParse(document: Document) = SManga.create().apply { author = document.select(".imptdt:contains(auteur) i").text() diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt index c4a43b26b..d6a91942b 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt @@ -22,7 +22,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator { SingleLang("Flame Scans", "http://flamescans.org", "en", overrideVersionCode = 1), SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"), SingleLang("PMScans", "https://reader.pmscans.com", "en"), - SingleLang("GS Nation", "https://gs-nation.fr", "fr") + SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1) ) companion object {