Sussy Scan: update domain (#3577)

This commit is contained in:
Vetle Ledaal 2024-06-16 08:02:42 +02:00 committed by GitHub
parent fdad28663e
commit b72f516d57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Sussy Scan'
extClass = '.SussyScan'
themePkg = 'madara'
baseUrl = 'https://sussyscan.com'
overrideVersionCode = 1
baseUrl = 'https://old.sussytoons.com'
overrideVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -8,7 +8,7 @@ import java.util.Locale
class SussyScan : Madara(
"Sussy Scan",
"https://sussyscan.com",
"https://old.sussytoons.com",
"pt-BR",
SimpleDateFormat("MMMM dd, yyyy", Locale("pt", "BR")),
) {
@ -16,8 +16,11 @@ class SussyScan : Madara(
.rateLimit(2)
.build()
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = true
override val mangaDetailsSelectorAuthor = "div.manga-authors > a"
override val mangaDetailsSelectorDescription = ".manga-about.manga-info"
override val mangaDetailsSelectorThumbnail = "head meta[property='og:image']"
override fun imageFromElement(element: Element): String? {