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:
mrtear 2025-09-20 02:44:20 -06:00 committed by Draff
parent 2d450add12
commit ea0a3fded0
Signed by: Draff
GPG Key ID: E8A89F3211677653
7 changed files with 30 additions and 0 deletions

View 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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -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
}
}
}