Kaguya(Yubikiri): Rebranding and fixes (#8891)

Rebranding
This commit is contained in:
Chopper 2025-05-18 02:36:28 -03:00 committed by Draff
parent 39919d1e0a
commit ebaccb53c1
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 20 additions and 9 deletions

View File

@ -1,9 +1,9 @@
ext {
extName = 'Yubikiri'
extClass = '.Yubikiri'
extName = 'Kaguya'
extClass = '.Kaguya'
themePkg = 'madara'
baseUrl = 'https://yubikiri.my.id'
overrideVersionCode = 0
baseUrl = 'https://kaguya.id'
overrideVersionCode = 1
isNsfw = false
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1,22 +1,33 @@
package eu.kanade.tachiyomi.extension.id.yubikiri
import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import org.jsoup.nodes.Element
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class Yubikiri : Madara(
"Yubikiri",
"https://yubikiri.my.id",
class Kaguya : Madara(
"Kaguya",
"https://kaguya.id",
"id",
dateFormat = SimpleDateFormat("d MMMM", Locale("en")),
) {
override val mangaDetailsSelectorAuthor = ".manga-authors > a"
override val mangaDetailsSelectorDescription = ".manga-summary p"
override val client: OkHttpClient = super.client.newBuilder()
.readTimeout(1, TimeUnit.MINUTES)
.build()
override val id = 1557304490417397104
override val mangaDetailsSelectorTitle = "h1.post-title"
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Status) + div"
override val mangaDetailsSelectorThumbnail = "head meta[property='og:image']" // Same as browse
override val useNewChapterEndpoint = true
override val useLoadMoreRequest = LoadMoreStrategy.Never
override fun imageFromElement(element: Element): String? {
return super.imageFromElement(element)
?.takeIf { it.isNotEmpty() }