From 5d3348bd5befe69c8b91fef41841c693089e57d8 Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Sat, 6 Apr 2024 11:45:00 +0500 Subject: [PATCH] readsnk: fix chapter list and update domain (#2270) readsnk: fix chapter list and update domanin --- src/en/readattackontitanshingekinokyojinmanga/build.gradle | 4 ++-- .../ReadAttackOnTitanShingekiNoKyojinManga.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/en/readattackontitanshingekinokyojinmanga/build.gradle b/src/en/readattackontitanshingekinokyojinmanga/build.gradle index ff2e6e5ce..9ddcea93f 100644 --- a/src/en/readattackontitanshingekinokyojinmanga/build.gradle +++ b/src/en/readattackontitanshingekinokyojinmanga/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'Read Attack on Titan Shingeki no Kyojin Manga' extClass = '.ReadAttackOnTitanShingekiNoKyojinManga' themePkg = 'mangacatalog' - baseUrl = 'https://ww8.readsnk.com' - overrideVersionCode = 4 + baseUrl = 'https://ww9.readsnk.com' + overrideVersionCode = 5 } apply from: "$rootDir/common.gradle" diff --git a/src/en/readattackontitanshingekinokyojinmanga/src/eu/kanade/tachiyomi/extension/en/readattackontitanshingekinokyojinmanga/ReadAttackOnTitanShingekiNoKyojinManga.kt b/src/en/readattackontitanshingekinokyojinmanga/src/eu/kanade/tachiyomi/extension/en/readattackontitanshingekinokyojinmanga/ReadAttackOnTitanShingekiNoKyojinManga.kt index e58153de5..7d33cd808 100644 --- a/src/en/readattackontitanshingekinokyojinmanga/src/eu/kanade/tachiyomi/extension/en/readattackontitanshingekinokyojinmanga/ReadAttackOnTitanShingekiNoKyojinManga.kt +++ b/src/en/readattackontitanshingekinokyojinmanga/src/eu/kanade/tachiyomi/extension/en/readattackontitanshingekinokyojinmanga/ReadAttackOnTitanShingekiNoKyojinManga.kt @@ -4,7 +4,7 @@ import eu.kanade.tachiyomi.multisrc.mangacatalog.MangaCatalog import eu.kanade.tachiyomi.source.model.SChapter import org.jsoup.nodes.Element -class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww8.readsnk.com", "en") { +class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Titan Shingeki no Kyojin Manga", "https://ww9.readsnk.com", "en") { override val sourceList = listOf( Pair("Shingeki No Kyojin", "$baseUrl/manga/shingeki-no-kyojin/"), Pair("Colored", "$baseUrl/manga/shingeki-no-kyojin-colored/"), @@ -20,7 +20,7 @@ class ReadAttackOnTitanShingekiNoKyojinManga : MangaCatalog("Read Attack on Tita Pair("No Regrets Colored", "$baseUrl/manga/attack-on-titan-no-regrets-colored/"), ).sortedBy { it.first }.distinctBy { it.second } - override fun chapterListSelector(): String = "div.w-full div.grid div.col-span-3" + override fun chapterListSelector(): String = "div.w-full div.grid div.col-span-4" override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { val urlElement = element.selectFirst("a")!!