Update XOXO Comics url

Closes  #5
This commit is contained in:
FourTOne5 2024-01-09 13:05:05 +06:00
parent 67b6e5b37b
commit 5a75baad01
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {