From 8a623f9855c90b456c5c20e67114ae7990c6e173 Mon Sep 17 00:00:00 2001 From: Noobuster <51394302+NhanRui@users.noreply.github.com> Date: Tue, 14 Mar 2023 01:35:14 +0700 Subject: [PATCH] Change Nettruyen domain name (#15679) * Update Nettruyen domain * Update Nettruyen domain * Update WPComicsGenerator.kt --- 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 63930748a..ae6a76ee4 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.nettruyenking.com", "vi", SimpleDateFormat("dd/MM/yy", Locale.getDefault()), null) { +class NetTruyen : WPComics("NetTruyen", "https://www.nettruyenup.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 14898dadc..25b7d5c5f 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.nettruyenking.com", "vi", overrideVersionCode = 14), + SingleLang("NetTruyen", "https://www.nettruyenup.com", "vi", overrideVersionCode = 15), SingleLang("NhatTruyen", "https://nhattruyenmin.com", "vi", overrideVersionCode = 11), SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3), SingleLang("XOXO Comics", "https://xoxocomics.com", "en", className = "XoxoComics", overrideVersionCode = 1),