* Hide non-manga entries in search on Madara sources. * Remove deleted method in overrides. * Remove unused methods and fix final modifier warning. * Remove commented lines in NS. * Remove hardcoded selector in old sources.
25 lines
689 B
Kotlin
25 lines
689 B
Kotlin
package eu.kanade.tachiyomi.extension.ar.egymanga
|
|
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|
import eu.kanade.tachiyomi.source.model.SChapter
|
|
import okhttp3.Response
|
|
import java.text.SimpleDateFormat
|
|
import java.util.Locale
|
|
|
|
class EGYManga : Madara(
|
|
"EGY Manga",
|
|
"https://egymanga.net",
|
|
"ar",
|
|
SimpleDateFormat("MMMM dd, yyyy", Locale("ar"))
|
|
) {
|
|
|
|
// The website does not flag the content.
|
|
override val useLoadMoreSearch = false
|
|
override val filterNonMangaItems = false
|
|
|
|
override val pageListParseSelector = "div.separator"
|
|
|
|
override fun chapterListParse(response: Response): List<SChapter> =
|
|
super.chapterListParse(response).reversed()
|
|
}
|