Theme Hijala "ar" Changed to ZeistManga (#2999)

change Theme Hijala "ar" to ZeistManga
This commit is contained in:
mohamedotaku 2024-05-13 16:21:14 +01:00 committed by GitHub
parent f2d0ca10ca
commit 72ce7c285e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 56 additions and 9 deletions

View File

@ -1,9 +1,9 @@
ext { ext {
extName = 'Hijala' extName = 'Hijala'
extClass = '.Hijala' extClass = '.Hijala'
themePkg = 'mangathemesia' themePkg = 'zeistmanga'
baseUrl = 'https://www.hijala.com' baseUrl = 'https://www.hijala.com'
overrideVersionCode = 0 overrideVersionCode = 22
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -1,15 +1,62 @@
package eu.kanade.tachiyomi.extension.ar.hijala package eu.kanade.tachiyomi.extension.ar.hijala
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.multisrc.zeistmanga.Genre
import java.text.SimpleDateFormat import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import java.util.Locale import eu.kanade.tachiyomi.source.model.MangasPage
import okhttp3.Request
import okhttp3.Response
class Hijala : MangaThemesia( class Hijala : ZeistManga(
"Hijala", "Hijala",
"https://www.hijala.com", "https://www.hijala.com",
"ar", "ar",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("ar")),
) { ) {
// Site moved from ZeistManga to MangaThemesia // Site moved from MangaThemesia to ZeistManga
override val versionId get() = 2 override val versionId get() = 3
override val hasFilters = true
override val hasLanguageFilter = false
override val supportsLatest = false
override fun popularMangaRequest(page: Int): Request = latestUpdatesRequest(page)
override fun popularMangaParse(response: Response): MangasPage = latestUpdatesParse(response)
override fun getGenreList(): List<Genre> = listOf(
Genre("أكشن", "Action"),
Genre("أثارة", "Thriller"),
Genre("أتشي", "Ecchi"),
Genre("حياة مدرسية", "School Life"),
Genre("تاريخي", "Historical"),
Genre("ألعاب", "Game"),
Genre("خيال علمي", "Sci-Fi"),
Genre("خيال", "Fantasy"),
Genre("خارق للطبيعة", "Supernatural"),
Genre("رومانسي", "Romance"),
Genre("رعب", "Horror"),
Genre("دراما", "Drama"),
Genre("سينين", "Seinen"),
Genre("سحري", "Magic"),
Genre("رياضي", "Sports"),
Genre("شونين", "Shounen"),
Genre("شوجو", "Shoujo"),
Genre("شريحة من الحياة", "Slice of Life"),
Genre("علاجي", "Medical"),
Genre("عسكري", "Military"),
Genre("طبخ", "Cooking"),
Genre("فنون قتال", "Martial Arts"),
Genre("غموض", "Mystery"),
Genre("عوالم متعددة", "Isekai"),
Genre("مانها", "مانها"),
Genre("مأساوي", "Tragedy"),
Genre("كوميديا", "Comedy"),
Genre("مغامرات", "Adventure"),
Genre("مصاص دماء", "مصاص دماء"),
Genre("مانهوا", "مانهوا"),
Genre("موسيقي", "موسيقي"),
Genre("موسيقى", "Music"),
Genre("مغامرات", "مغامرات"),
Genre("نفسي", "نفسي"),
Genre("نفسي", "Psychological"),
Genre("ميكا", "ميكا"),
)
} }