Madara: add arabic status. 3asq: fix date format, selector (#11171)

This commit is contained in:
Vetle Ledaal 2022-03-19 02:23:32 +00:00 committed by GitHub
parent cb847eb5e3
commit 84714f887f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,17 @@
package eu.kanade.tachiyomi.extension.ar.manga3asq
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.text.SimpleDateFormat
import java.util.Locale
class Manga3asq : Madara("مانجا العاشق", "https://3asq.org", "ar") {
class Manga3asq : Madara(
"مانجا العاشق",
"https://3asq.org",
"ar",
// \u060c (،) U+060C : ARABIC COMMA
dateFormat = SimpleDateFormat("d MMM\u060c yyy", Locale("ar"))
) {
override val useNewChapterEndpoint: Boolean = true
override val popularMangaUrlSelector = "div.post-title a:not([target])"
}

View File

@ -384,13 +384,13 @@ abstract class Madara(
// Manga Details Parse
protected val completedStatusList: Array<String> = arrayOf(
"Completed", "Completo", "Concluído", "Concluido", "Terminé", "Hoàn Thành"
"Completed", "Completo", "Concluído", "Concluido", "Terminé", "Hoàn Thành", "مكتملة"
)
protected val ongoingStatusList: Array<String> = arrayOf(
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento", "Em Andamento",
"En cours", "Ativo", "Lançando", "Đang Tiến Hành", "Devam Ediyor", "Devam ediyor",
"In Corso", "In Arrivo"
"In Corso", "In Arrivo", "مستمرة"
)
override fun mangaDetailsParse(document: Document): SManga {

View File

@ -10,7 +10,7 @@ class MadaraGenerator : ThemeSourceGenerator {
override val themeClass = "Madara"
override val baseVersionCode: Int = 16
override val baseVersionCode: Int = 17
override val sources = listOf(
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 9),