From 063b526748a6b690e81e92d485e1081cf4e61e10 Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Fri, 22 Mar 2024 15:59:31 +0000 Subject: [PATCH] MangaLionz: update domain, fix date format (#2026) --- src/ar/mangalionz/build.gradle | 5 +++-- .../tachiyomi/extension/ar/mangalionz/MangaLionz.kt | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ar/mangalionz/build.gradle b/src/ar/mangalionz/build.gradle index 49fa4f71f..53fd65de6 100644 --- a/src/ar/mangalionz/build.gradle +++ b/src/ar/mangalionz/build.gradle @@ -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" diff --git a/src/ar/mangalionz/src/eu/kanade/tachiyomi/extension/ar/mangalionz/MangaLionz.kt b/src/ar/mangalionz/src/eu/kanade/tachiyomi/extension/ar/mangalionz/MangaLionz.kt index 80e41c518..89cc28ad0 100644 --- a/src/ar/mangalionz/src/eu/kanade/tachiyomi/extension/ar/mangalionz/MangaLionz.kt +++ b/src/ar/mangalionz/src/eu/kanade/tachiyomi/extension/ar/mangalionz/MangaLionz.kt @@ -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()