Add Moodtoon (#8181)

This commit is contained in:
theAutotelicX 2025-03-23 22:06:21 +07:00 committed by Draff
parent 3fb70c10de
commit e0193a707a
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Moodtoon'
extClass = '.Moodtoon'
themePkg = 'mangathemesia'
baseUrl = 'https://moodtoon.net'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,26 @@
package eu.kanade.tachiyomi.extension.th.moodtoon
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Document
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.TimeZone
class Moodtoon : MangaThemesia(
"Moodtoon",
"https://moodtoon.net",
"th",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("th")).apply {
timeZone = TimeZone.getTimeZone("Asia/Bangkok")
},
) {
override fun mangaDetailsParse(document: Document): SManga {
return super.mangaDetailsParse(document).apply {
// Add 'color' badge as a genre
if (document.selectFirst(".thumb .colored") != null) {
genre = genre?.plus(", Color")
}
}
}
}