SayHentai: Update base URL (#1147)

This commit is contained in:
beerpsi 2024-02-09 01:38:44 +07:00 committed by GitHub
parent 32b26f4e11
commit 53ad57da21
2 changed files with 3 additions and 3 deletions

View File

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

View File

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