mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 19:52:56 +01:00
Add Shojo Scans (#4127)
This commit is contained in:
parent
1b4523d4bf
commit
2d8e75869f
10
src/en/shojoscans/build.gradle
Normal file
10
src/en/shojoscans/build.gradle
Normal file
@ -0,0 +1,10 @@
|
||||
ext {
|
||||
extName = 'Shojo Scans'
|
||||
extClass = '.ShojoScans'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://shojoscans.com'
|
||||
overrideVersionCode = 0
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
BIN
src/en/shojoscans/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/shojoscans/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
BIN
src/en/shojoscans/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/shojoscans/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
src/en/shojoscans/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/shojoscans/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
src/en/shojoscans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/shojoscans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
src/en/shojoscans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/shojoscans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
@ -0,0 +1,18 @@
|
||||
package eu.kanade.tachiyomi.extension.en.shojoscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
|
||||
class ShojoScans : MangaThemesia(
|
||||
"Shojo Scans",
|
||||
"https://shojoscans.com",
|
||||
"en",
|
||||
mangaUrlDirectory = "/comics",
|
||||
) {
|
||||
override fun String?.parseStatus() = when {
|
||||
this == null -> SManga.UNKNOWN
|
||||
this.contains("ongoing", ignoreCase = true) -> SManga.ONGOING
|
||||
this.contains("mass released", ignoreCase = true) -> SManga.ONGOING
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user