Sussy Scan: update domain (#3577)

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

View File

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

View File

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