SayHentai: Update base URL ()

This commit is contained in:
beerpsi 2024-02-09 01:38:44 +07:00 committed by Draff
parent 4682cc8752
commit 49c3517510
2 changed files with 3 additions and 3 deletions
src/vi/sayhentai
build.gradle
src/eu/kanade/tachiyomi/extension/vi/sayhentai

@ -1,7 +1,7 @@
ext {
extName = "SayHentai"
extClass = ".SayHentai"
extVersionCode = 2
extVersionCode = 3
isNsfw = true
}

@ -20,7 +20,7 @@ class SayHentai : ParsedHttpSource() {
override val lang = "vi"
override val baseUrl = "https://sayhentai.fun"
override val baseUrl = "https://sayhentai.club"
override val supportsLatest = false
@ -145,7 +145,7 @@ class SayHentai : ParsedHttpSource() {
}
// document.querySelectorAll("span.number-story").forEach((e) => e.remove())
// copy([...document.querySelectorAll(".page-category ul li a")].map((e) => `Genre("${e.textContent.trim()}", "${e.href.replace("https://sayhentai.fun/", "")}"),`).join("\n"))
// copy([...document.querySelectorAll(".page-category ul li a")].map((e) => `Genre("${e.textContent.trim()}", "${e.href.replace("https://sayhentai.club/", "")}"),`).join("\n"))
//
// There are 2 pseudo-genres: Tất cả (All), and Hoàn thành (Completed), mostly for convenience.
private fun getGenreList() = arrayOf(