From 7573bca926df789cbc2054a402e58004a7a528df Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Tue, 24 Dec 2024 20:53:47 -0300 Subject: [PATCH] Update domains (#6776) * Update domains * Migrate theme * Fix Siikomik response code 500 * Holiday: Fix popularManga path segment --- src/en/holymanga/build.gradle | 4 ++-- .../tachiyomi/extension/en/holymanga/HolyManga.kt | 12 +++++++++++- src/en/spiderscans/build.gradle | 4 ++-- .../extension/en/spiderscans/SpiderScans.kt | 6 +++--- src/es/nekoscans/build.gradle | 4 ++-- .../tachiyomi/extension/es/nekoscans/NekoScans.kt | 7 +------ src/id/mikoroku/build.gradle | 4 ++-- .../tachiyomi/extension/id/mikoroku/MikoRoku.kt | 2 +- src/id/siimanga/build.gradle | 2 +- .../tachiyomi/extension/id/siimanga/Siikomik.kt | 11 +++++++++++ src/ja/mangarawplus/build.gradle | 4 ++-- .../extension/ja/mangarawplus/MangaRawPlus.kt | 5 ++++- src/tr/mangagezgini/build.gradle | 4 ++-- .../extension/tr/mangagezgini/MangaGezgini.kt | 2 +- src/vi/toptruyen/build.gradle | 4 ++-- .../tachiyomi/extension/vi/toptruyen/TopTruyen.kt | 2 +- 16 files changed, 48 insertions(+), 29 deletions(-) diff --git a/src/en/holymanga/build.gradle b/src/en/holymanga/build.gradle index 59d09493a..6a0fd688d 100644 --- a/src/en/holymanga/build.gradle +++ b/src/en/holymanga/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'HolyManga' extClass = '.HolyManga' themePkg = 'zbulu' - baseUrl = 'https://w33.holymanga.net' - overrideVersionCode = 3 + baseUrl = 'https://w34.holymanga.net' + overrideVersionCode = 4 isNsfw = true } diff --git a/src/en/holymanga/src/eu/kanade/tachiyomi/extension/en/holymanga/HolyManga.kt b/src/en/holymanga/src/eu/kanade/tachiyomi/extension/en/holymanga/HolyManga.kt index 529a7dfe0..541551e63 100644 --- a/src/en/holymanga/src/eu/kanade/tachiyomi/extension/en/holymanga/HolyManga.kt +++ b/src/en/holymanga/src/eu/kanade/tachiyomi/extension/en/holymanga/HolyManga.kt @@ -1,5 +1,15 @@ package eu.kanade.tachiyomi.extension.en.holymanga import eu.kanade.tachiyomi.multisrc.zbulu.Zbulu +import eu.kanade.tachiyomi.network.GET +import okhttp3.Request -class HolyManga : Zbulu("HolyManga", "https://w33.holymanga.net", "en") +class HolyManga : Zbulu( + "HolyManga", + "https://w34.holymanga.net", + "en", +) { + override fun popularMangaRequest(page: Int): Request { + return GET("$baseUrl/popular-manga/page-$page/", headers) + } +} diff --git a/src/en/spiderscans/build.gradle b/src/en/spiderscans/build.gradle index b8e34832a..5f9140f73 100644 --- a/src/en/spiderscans/build.gradle +++ b/src/en/spiderscans/build.gradle @@ -1,8 +1,8 @@ ext { extName = 'Spider Scans' extClass = '.SpiderScans' - themePkg = 'mangathemesia' - baseUrl = 'https://spiderscans.xyz' + themePkg = 'madara' + baseUrl = 'https://spidyscans.xyz' overrideVersionCode = 0 isNsfw = true } diff --git a/src/en/spiderscans/src/eu/kanade/tachiyomi/extension/en/spiderscans/SpiderScans.kt b/src/en/spiderscans/src/eu/kanade/tachiyomi/extension/en/spiderscans/SpiderScans.kt index 562c29a79..6153bab18 100644 --- a/src/en/spiderscans/src/eu/kanade/tachiyomi/extension/en/spiderscans/SpiderScans.kt +++ b/src/en/spiderscans/src/eu/kanade/tachiyomi/extension/en/spiderscans/SpiderScans.kt @@ -1,11 +1,11 @@ package eu.kanade.tachiyomi.extension.en.spiderscans -import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia +import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.network.interceptor.rateLimit -class SpiderScans : MangaThemesia( +class SpiderScans : Madara( "Spider Scans", - "https://spiderscans.xyz", + "https://spidyscans.xyz", "en", ) { override val client = super.client.newBuilder() diff --git a/src/es/nekoscans/build.gradle b/src/es/nekoscans/build.gradle index 437b3579a..572ef08fe 100644 --- a/src/es/nekoscans/build.gradle +++ b/src/es/nekoscans/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'NekoScans' extClass = '.NekoScans' themePkg = 'zeistmanga' - baseUrl = 'https://www.nekoscans.org' - overrideVersionCode = 23 + baseUrl = 'https://nekoscanlationlector.blogspot.com' + overrideVersionCode = 24 isNsfw = true } diff --git a/src/es/nekoscans/src/eu/kanade/tachiyomi/extension/es/nekoscans/NekoScans.kt b/src/es/nekoscans/src/eu/kanade/tachiyomi/extension/es/nekoscans/NekoScans.kt index d69d2fed2..52c789b83 100644 --- a/src/es/nekoscans/src/eu/kanade/tachiyomi/extension/es/nekoscans/NekoScans.kt +++ b/src/es/nekoscans/src/eu/kanade/tachiyomi/extension/es/nekoscans/NekoScans.kt @@ -2,12 +2,11 @@ package eu.kanade.tachiyomi.extension.es.nekoscans import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga import eu.kanade.tachiyomi.network.interceptor.rateLimit -import okhttp3.Response import java.util.concurrent.TimeUnit class NekoScans : ZeistManga( "NekoScans", - "https://www.nekoscans.org", + "https://nekoscanlationlector.blogspot.com", "es", ) { // Theme changed from MangaThemesia to ZeistManga @@ -19,9 +18,5 @@ class NekoScans : ZeistManga( override val excludedCategories = listOf("Anime", "Novel") - override fun popularMangaRequest(page: Int) = latestUpdatesRequest(page) - override fun popularMangaParse(response: Response) = latestUpdatesParse(response) - override val supportsLatest = false - override val pageListSelector = "div#readarea img" } diff --git a/src/id/mikoroku/build.gradle b/src/id/mikoroku/build.gradle index d643f1d49..481c7eb7f 100644 --- a/src/id/mikoroku/build.gradle +++ b/src/id/mikoroku/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'MikoRoku' extClass = '.MikoRoku' themePkg = 'zeistmanga' - baseUrl = 'https://www.mikoroku.web.id' - overrideVersionCode = 1 + baseUrl = 'https://www.mikoroku.com' + overrideVersionCode = 2 isNsfw = true } diff --git a/src/id/mikoroku/src/eu/kanade/tachiyomi/extension/id/mikoroku/MikoRoku.kt b/src/id/mikoroku/src/eu/kanade/tachiyomi/extension/id/mikoroku/MikoRoku.kt index 3c5a36f6b..11064e50b 100644 --- a/src/id/mikoroku/src/eu/kanade/tachiyomi/extension/id/mikoroku/MikoRoku.kt +++ b/src/id/mikoroku/src/eu/kanade/tachiyomi/extension/id/mikoroku/MikoRoku.kt @@ -8,7 +8,7 @@ import eu.kanade.tachiyomi.util.asJsoup import okhttp3.Response import org.jsoup.nodes.Element -class MikoRoku : ZeistManga("MikoRoku", "https://www.mikoroku.web.id", "id") { +class MikoRoku : ZeistManga("MikoRoku", "https://www.mikoroku.com", "id") { // ============================== Popular =============================== override val popularMangaSelector = "div.PopularPosts article" diff --git a/src/id/siimanga/build.gradle b/src/id/siimanga/build.gradle index d51f34856..d8961caac 100644 --- a/src/id/siimanga/build.gradle +++ b/src/id/siimanga/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.Siikomik' themePkg = 'mangathemesia' baseUrl = 'https://siikomik.lat' - overrideVersionCode = 9 + overrideVersionCode = 10 isNsfw = false } diff --git a/src/id/siimanga/src/eu/kanade/tachiyomi/extension/id/siimanga/Siikomik.kt b/src/id/siimanga/src/eu/kanade/tachiyomi/extension/id/siimanga/Siikomik.kt index 3859166bd..eb9d84eb1 100644 --- a/src/id/siimanga/src/eu/kanade/tachiyomi/extension/id/siimanga/Siikomik.kt +++ b/src/id/siimanga/src/eu/kanade/tachiyomi/extension/id/siimanga/Siikomik.kt @@ -2,6 +2,8 @@ package eu.kanade.tachiyomi.extension.id.siimanga import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.network.interceptor.rateLimit +import okhttp3.internal.http.HTTP_INTERNAL_SERVER_ERROR +import okhttp3.internal.http.HTTP_OK class Siikomik : MangaThemesia( "Siikomik", @@ -12,6 +14,15 @@ class Siikomik : MangaThemesia( override val client = super.client.newBuilder() .rateLimit(3) + .addInterceptor { chain -> + val response = chain.proceed(chain.request()) + if (response.code == HTTP_INTERNAL_SERVER_ERROR) { + return@addInterceptor response.newBuilder() + .code(HTTP_OK) + .build() + } + response + } .build() override val hasProjectPage = true diff --git a/src/ja/mangarawplus/build.gradle b/src/ja/mangarawplus/build.gradle index 99ee19441..7f76c9107 100644 --- a/src/ja/mangarawplus/build.gradle +++ b/src/ja/mangarawplus/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'MANGARAW+' extClass = '.MangaRawPlus' themePkg = 'madara' - baseUrl = 'https://mangafenxi.net' - overrideVersionCode = 5 + baseUrl = 'https://mangarawx.net' + overrideVersionCode = 6 isNsfw = true } diff --git a/src/ja/mangarawplus/src/eu/kanade/tachiyomi/extension/ja/mangarawplus/MangaRawPlus.kt b/src/ja/mangarawplus/src/eu/kanade/tachiyomi/extension/ja/mangarawplus/MangaRawPlus.kt index 18b1a6d14..d3558654a 100644 --- a/src/ja/mangarawplus/src/eu/kanade/tachiyomi/extension/ja/mangarawplus/MangaRawPlus.kt +++ b/src/ja/mangarawplus/src/eu/kanade/tachiyomi/extension/ja/mangarawplus/MangaRawPlus.kt @@ -7,7 +7,10 @@ import eu.kanade.tachiyomi.source.model.SManga import okhttp3.Request import org.jsoup.nodes.Element -class MangaRawPlus : Madara("MANGARAW+", "https://mangafenxi.net", "ja") { +class MangaRawPlus : Madara("MANGARAW+", "https://mangarawx.net", "ja") { + + override val mangaSubString = "threads" + override fun popularMangaSelector() = searchMangaSelector() override fun popularMangaRequest(page: Int) = diff --git a/src/tr/mangagezgini/build.gradle b/src/tr/mangagezgini/build.gradle index 3ad17890e..c94fe0c7a 100644 --- a/src/tr/mangagezgini/build.gradle +++ b/src/tr/mangagezgini/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'MangaGezgini' extClass = '.MangaGezgini' themePkg = 'madara' - baseUrl = 'https://mangagezgini.dev' - overrideVersionCode = 3 + baseUrl = 'https://mangagezgini.me' + overrideVersionCode = 4 isNsfw = false } diff --git a/src/tr/mangagezgini/src/eu/kanade/tachiyomi/extension/tr/mangagezgini/MangaGezgini.kt b/src/tr/mangagezgini/src/eu/kanade/tachiyomi/extension/tr/mangagezgini/MangaGezgini.kt index eae8de79c..72237c812 100644 --- a/src/tr/mangagezgini/src/eu/kanade/tachiyomi/extension/tr/mangagezgini/MangaGezgini.kt +++ b/src/tr/mangagezgini/src/eu/kanade/tachiyomi/extension/tr/mangagezgini/MangaGezgini.kt @@ -11,7 +11,7 @@ import java.util.Locale class MangaGezgini : Madara( "MangaGezgini", - "https://mangagezgini.dev", + "https://mangagezgini.me", "tr", SimpleDateFormat("dd/MM/yyyy", Locale.ROOT), ) { diff --git a/src/vi/toptruyen/build.gradle b/src/vi/toptruyen/build.gradle index ec4648a80..45bf16698 100644 --- a/src/vi/toptruyen/build.gradle +++ b/src/vi/toptruyen/build.gradle @@ -2,8 +2,8 @@ ext { extName = 'Top Truyen' extClass = '.TopTruyen' themePkg = 'wpcomics' - baseUrl = 'https://www.toptruyento.pro' - overrideVersionCode = 3 + baseUrl = 'https://www.toptruyenpro1.com' + overrideVersionCode = 4 isNsfw = true } diff --git a/src/vi/toptruyen/src/eu/kanade/tachiyomi/extension/vi/toptruyen/TopTruyen.kt b/src/vi/toptruyen/src/eu/kanade/tachiyomi/extension/vi/toptruyen/TopTruyen.kt index 6d5b2b239..6405765ad 100644 --- a/src/vi/toptruyen/src/eu/kanade/tachiyomi/extension/vi/toptruyen/TopTruyen.kt +++ b/src/vi/toptruyen/src/eu/kanade/tachiyomi/extension/vi/toptruyen/TopTruyen.kt @@ -16,7 +16,7 @@ import java.util.Locale class TopTruyen : WPComics( "Top Truyen", - "https://www.toptruyento.pro", + "https://www.toptruyenpro1.com", "vi", dateFormat = SimpleDateFormat("dd-MM-yyyy", Locale.getDefault()), gmtOffset = null,