From 23ace1ab652a2249fe0bac13fa077d847b6d4f09 Mon Sep 17 00:00:00 2001 From: FourTOne5 <107297513+FourTOne5@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:05:05 +0600 Subject: [PATCH] Update XOXO Comics url Closes #5 --- multisrc/overrides/wpcomics/xoxocomics/src/XoxoComics.kt | 2 +- .../eu/kanade/tachiyomi/multisrc/wpcomics/WPComicsGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/wpcomics/xoxocomics/src/XoxoComics.kt b/multisrc/overrides/wpcomics/xoxocomics/src/XoxoComics.kt index e4922df1..efc6f37d 100644 --- a/multisrc/overrides/wpcomics/xoxocomics/src/XoxoComics.kt +++ b/multisrc/overrides/wpcomics/xoxocomics/src/XoxoComics.kt @@ -13,7 +13,7 @@ import org.jsoup.nodes.Element import java.text.SimpleDateFormat import java.util.Locale -class XoxoComics : WPComics("XOXO Comics", "https://xoxocomics.net", "en", SimpleDateFormat("MM/dd/yyyy", Locale.US), null) { +class XoxoComics : WPComics("XOXO Comics", "https://xoxocomic.com", "en", SimpleDateFormat("MM/dd/yyyy", Locale.US), null) { override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/comic-updates?page=$page", headers) override fun latestUpdatesSelector() = "li.row" override fun latestUpdatesFromElement(element: Element): SManga { 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 a479ccd3..373aa782 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 @@ -15,7 +15,7 @@ class WPComicsGenerator : ThemeSourceGenerator { SingleLang("NetTruyen", "https://www.nettruyenbing.com", "vi", overrideVersionCode = 20), SingleLang("NhatTruyen", "https://nhattruyenmax.com", "vi", overrideVersionCode = 13), SingleLang("TruyenChon", "http://truyenchon.com", "vi", overrideVersionCode = 3), - SingleLang("XOXO Comics", "https://xoxocomics.net", "en", className = "XoxoComics", overrideVersionCode = 2), + SingleLang("XOXO Comics", "https://xoxocomic.com/", "en", className = "XoxoComics", overrideVersionCode = 3), ) companion object {