Add RestScans (#11055)

add restscans
This commit is contained in:
manti 2025-10-15 14:46:25 +02:00 committed by Draff
parent 039c241d33
commit f85c52aa38
Signed by: Draff
GPG Key ID: E8A89F3211677653
7 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Rest Scans'
extClass = '.RestScans'
themePkg = 'mangathemesia'
baseUrl = 'https://restscans.com'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -0,0 +1,18 @@
package eu.kanade.tachiyomi.extension.en.restscans
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import org.jsoup.nodes.Document
class RestScans : MangaThemesia(
"Rest Scans",
"https://restscans.com",
"en",
) {
override fun mangaDetailsParse(document: Document) = super.mangaDetailsParse(document).apply {
description = document.select(seriesDescriptionSelector).apply { select(".rs-comments-wrapper").remove() }.joinToString("\n") { it.text() }.trim()
val altName = document.selectFirst(seriesDetailsSelector)?.selectFirst(seriesAltNameSelector)?.ownText().takeIf { it.isNullOrBlank().not() }
altName?.let {
description = "$description\n\n$altNamePrefix$altName".trim()
}
}
}