SayHentai: Update base URL (#1147)

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

View File

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

View File

@ -20,7 +20,7 @@ class SayHentai : ParsedHttpSource() {
override val lang = "vi" override val lang = "vi"
override val baseUrl = "https://sayhentai.fun" override val baseUrl = "https://sayhentai.club"
override val supportsLatest = false override val supportsLatest = false
@ -145,7 +145,7 @@ class SayHentai : ParsedHttpSource() {
} }
// document.querySelectorAll("span.number-story").forEach((e) => e.remove()) // 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. // There are 2 pseudo-genres: Tất cả (All), and Hoàn thành (Completed), mostly for convenience.
private fun getGenreList() = arrayOf( private fun getGenreList() = arrayOf(