MangaLionz: update domain, fix date format (#2026)

This commit is contained in:
Vetle Ledaal 2024-03-22 15:59:31 +00:00 committed by Draff
parent 6317d70538
commit 063b526748
2 changed files with 11 additions and 3 deletions

View File

@ -2,8 +2,9 @@ ext {
extName = 'MangaLionz'
extClass = '.MangaLionz'
themePkg = 'madara'
baseUrl = 'https://mangalionz.org'
overrideVersionCode = 3
baseUrl = 'https://manga-lionz.com'
overrideVersionCode = 4
isNsfw = false
}
apply from: "$rootDir/common.gradle"

View File

@ -3,8 +3,15 @@ package eu.kanade.tachiyomi.extension.ar.mangalionz
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SManga
import org.jsoup.nodes.Element
import java.text.SimpleDateFormat
import java.util.Locale
class MangaLionz : Madara("MangaLionz", "https://mangalionz.org", "ar") {
class MangaLionz : Madara(
"MangaLionz",
"https://manga-lionz.com",
"ar",
dateFormat = SimpleDateFormat("MMMM d, yyyy", Locale("ar")),
) {
override val useLoadMoreRequest = LoadMoreStrategy.Always
override fun popularMangaFromElement(element: Element): SManga {
val manga = SManga.create()