Aria Moradi d0793a1741
add linting to multisrc (#8740)
* add linting to multisrc

* remove generated blocks

* lint again

* re-format the file

* remove buildScript block

* manaully format

* remove groups
2021-08-22 11:29:08 -04:00

39 lines
1.3 KiB
Kotlin

package eu.kanade.tachiyomi.extension.en.mangapl
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
@Nsfw
class MangaPL : Madara("MangaPL", "https://mangapl.com", "en") {
override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 1, TimeUnit.SECONDS))
.build()
override fun getGenreList() = listOf(
Genre("Action", "action"),
Genre("Adult", "adult"),
Genre("Adventure", "adventure"),
Genre("Comedy", "comedy"),
Genre("Drama", "drama"),
Genre("Doujinshi", "doujinshi"),
Genre("Drama", "drama"),
Genre("Ecchi", "ecchi"),
Genre("Harem", "harem"),
Genre("Mature", "mature"),
Genre("Mystery", "mystery"),
Genre("Psychological", "psychological"),
Genre("Raw", "raw"),
Genre("Romance", "romance"),
Genre("School Life", "school-life"),
Genre("Seinen", "seinen"),
Genre("Slice of Life", "slice-of-life"),
Genre("Smut", "smut"),
Genre("Supernatural", "supernatural"),
Genre("Tragedy", "tragedy"),
)
}