Add LunaToons (#10629)
* lunatoons * nice Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> * f * f2 Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> --------- Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
This commit is contained in:
parent
2d450add12
commit
ea0a3fded0
10
src/en/lunatoons/build.gradle
Normal file
10
src/en/lunatoons/build.gradle
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
ext {
|
||||||
|
extName = 'Luna Toons'
|
||||||
|
extClass = '.LunaToons'
|
||||||
|
themePkg = 'keyoapp'
|
||||||
|
baseUrl = 'https://lunatoons.org'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
BIN
src/en/lunatoons/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/lunatoons/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
BIN
src/en/lunatoons/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/lunatoons/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
src/en/lunatoons/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/lunatoons/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
BIN
src/en/lunatoons/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/lunatoons/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
src/en/lunatoons/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/lunatoons/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,20 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.en.lunatoons
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.keyoapp.Keyoapp
|
||||||
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
|
import org.jsoup.nodes.Document
|
||||||
|
|
||||||
|
class LunaToons : Keyoapp(
|
||||||
|
"Luna Toons",
|
||||||
|
"https://lunatoons.org",
|
||||||
|
"en",
|
||||||
|
) {
|
||||||
|
override fun mangaDetailsParse(document: Document): SManga = super.mangaDetailsParse(document).apply {
|
||||||
|
document.select("div:has(h1) a[href*='?genre=']")
|
||||||
|
.joinToString { it.attr("title") }
|
||||||
|
.takeIf { it.isNotEmpty() }
|
||||||
|
?.let {
|
||||||
|
genre = genre?.plus(", $it") ?: it
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user