90 lines
3.0 KiB
Kotlin
90 lines
3.0 KiB
Kotlin
package eu.kanade.tachiyomi.extension.en.mangakomi
|
|
|
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|
import java.text.SimpleDateFormat
|
|
import java.util.Locale
|
|
import okhttp3.OkHttpClient
|
|
import java.util.concurrent.TimeUnit
|
|
|
|
class MangaKomi : Madara(
|
|
"MangaKomi",
|
|
"https://mangakomi.com",
|
|
"en"
|
|
) {
|
|
|
|
override val client: OkHttpClient = super.client.newBuilder()
|
|
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
|
|
.build()
|
|
|
|
override fun getGenreList() = listOf(
|
|
Genre("4-koma", "4-koma"),
|
|
Genre("Action", "action"),
|
|
Genre("Adaptation", "adaptation"),
|
|
Genre("Adult", "adult"),
|
|
Genre("Adventure", "adventure"),
|
|
Genre("Comedy", "comedy"),
|
|
Genre("Cooking", "cooking"),
|
|
Genre("Crime", "crime"),
|
|
Genre("Demons", "demons"),
|
|
Genre("Doujinshi", "doujinshi"),
|
|
Genre("Drama", "drama"),
|
|
Genre("Ecchi", "ecchi"),
|
|
Genre("Fanstasy", "fantasy"),
|
|
Genre("Food", "food"),
|
|
Genre("Full color", "full-color"),
|
|
Genre("Game", "game"),
|
|
Genre("Gender bender", "gender-bender"),
|
|
Genre("Harem", "harem"),
|
|
Genre("Historical", "historical"),
|
|
Genre("Horror", "horror"),
|
|
Genre("Isekai", "Isekai"),
|
|
Genre("Japanese", "japanese"),
|
|
Genre("Josei", "josei"),
|
|
Genre("Kids", "kids"),
|
|
Genre("Korean", "korean"),
|
|
Genre("Magic", "magic"),
|
|
Genre("Magical girls", "magical-girls"),
|
|
Genre("Manga", "manga"),
|
|
Genre("Manhua", "manhua"),
|
|
Genre("Manhwa", "manhwa"),
|
|
Genre("Martial arts", "martial-arts"),
|
|
Genre("Mature", "mature"),
|
|
Genre("Mecha", "mecha"),
|
|
Genre("Medical", "medical"),
|
|
Genre("Military", "military"),
|
|
Genre("Monsters", "monsters"),
|
|
Genre("Music", "music"),
|
|
Genre("Mystery", "mystery"),
|
|
Genre("One shot", "one-shot"),
|
|
Genre("Philosophical", "philosophical"),
|
|
Genre("Police", "police"),
|
|
Genre("Psychological", "psychological"),
|
|
Genre("Reincarnation", "reincarnation"),
|
|
Genre("Romance", "romance"),
|
|
Genre("School Life", "school-life"),
|
|
Genre("Sci fi", "sci-fi"),
|
|
Genre("Seinen", "seinen"),
|
|
Genre("Shoujo", "shoujo"),
|
|
Genre("Shoujo ai", "shoujo-ai"),
|
|
Genre("Shoujoai", "shoujoai"),
|
|
Genre("Shounen", "shounen"),
|
|
Genre("Shounen ai", "shounen-ai"),
|
|
Genre("Slice of Life", "slice-of-life"),
|
|
Genre("Smut", "smut"),
|
|
Genre("Sports", "sports"),
|
|
Genre("Super power", "super-power"),
|
|
Genre("Superhero", "superhero"),
|
|
Genre("Supernatural", "supernatural"),
|
|
Genre("Thriller", "thriller"),
|
|
Genre("Tragedy", "tragedy"),
|
|
Genre("Vampire", "vampire"),
|
|
Genre("Vietnamese", "vietnamese"),
|
|
Genre("Webtoon", "webtoon"),
|
|
Genre("Webtoons", "webtoons"),
|
|
Genre("Wuxia", "wuxia"),
|
|
Genre("Yaoi", "yaoi"),
|
|
Genre("Yuri", "yuri"),
|
|
)
|
|
}
|