parent
039c241d33
commit
f85c52aa38
10
src/en/restscans/build.gradle
Normal file
10
src/en/restscans/build.gradle
Normal 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"
|
||||
BIN
src/en/restscans/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/restscans/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
BIN
src/en/restscans/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/restscans/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
BIN
src/en/restscans/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/restscans/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.9 KiB |
BIN
src/en/restscans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/restscans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
src/en/restscans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/restscans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user