Madara: add arabic status. 3asq: fix date format, selector (#11171)
This commit is contained in:
parent
cb847eb5e3
commit
84714f887f
|
@ -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])"
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue