From ebeecdca310cf464c0fa78a82f1910aeb2972991 Mon Sep 17 00:00:00 2001 From: are-are-are <62763969+dejavui@users.noreply.github.com> Date: Sat, 2 Sep 2023 05:32:10 +0700 Subject: [PATCH] Update domain Nettruyen (#17763) --- multisrc/overrides/wpcomics/nettruyen/src/NetTruyen.kt | 2 +- .../eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/wpcomics/nettruyen/src/NetTruyen.kt b/multisrc/overrides/wpcomics/nettruyen/src/NetTruyen.kt index d762c8f05..885828481 100644 --- a/multisrc/overrides/wpcomics/nettruyen/src/NetTruyen.kt +++ b/multisrc/overrides/wpcomics/nettruyen/src/NetTruyen.kt @@ -9,7 +9,7 @@ import okhttp3.Request import java.text.SimpleDateFormat import java.util.Locale -class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenmax.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) { +class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenus.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) { override fun headersBuilder(): Headers.Builder = Headers.Builder() override fun imageRequest(page: Page): Request = GET(page.imageUrl!!, headersBuilder().add("Referer", baseUrl).build()) override fun getFilterList(): FilterList { diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt index e7b22f86f..0481cef50 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt @@ -12,7 +12,7 @@ class WPComicsGenerator : ThemeSourceGenerator { override val baseVersionCode: Int = 2 override val sources = listOf( - SingleLang("NetTruyen", "https://www.nettruyenmax.com", "vi", overrideVersionCode = 18), + SingleLang("NetTruyen", "https://www.nettruyenus.com", "vi", overrideVersionCode = 19), SingleLang("NhatTruyen", "https://nhattruyenmin.com", "vi", overrideVersionCode = 11), SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3), SingleLang("XOXO Comics", "https://xoxocomics.net", "en", className = "XoxoComics", overrideVersionCode = 2),