add Hiperdex & bump version (#1764)

[Add] Hiperdex
This commit is contained in:
TechnoJo4 2019-11-10 19:10:13 -05:00 committed by Carlos
parent 32a58065e7
commit 8723dcab07
2 changed files with 40 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 25
extVersionCode = 26
libVersion = '1.2'
}

View File

@ -52,7 +52,8 @@ class MadaraFactory : SourceFactory {
AdonisFansub(),
GetManhwa(),
AllPornComic(),
Milftoon()
Milftoon(),
Hiperdex()
)
}
@ -234,3 +235,40 @@ class Milftoon : Madara("Milftoon", "https://milftoon.xxx", "en") {
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/page/$page/?m_orderby=latest", headers)
}
class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") {
override fun getGenreList() = listOf(
Genre( "Adult", "adult"),
Genre( "Action", "action"),
Genre( "Adventure", "adventure"),
Genre( "Bully", "bully"),
Genre( "Comedy", "comedy"),
Genre( "Drama", "drama"),
Genre( "Ecchi", "ecchi"),
Genre( "Fantasy", "fantasy"),
Genre( "Gender Bender", "gender-bender"),
Genre( "Harem", "harem"),
Genre( "Historical", "historical"),
Genre( "Horror", "horror"),
Genre( "Isekai", "isekai"),
Genre( "Josei", "josei"),
Genre( "Martial Arts", "martial-arts"),
Genre( "Mature", "mature"),
Genre( "Mystery", "mystery"),
Genre( "Psychological", "psychological"),
Genre( "Romance", "romance"),
Genre( "School Life", "school-life"),
Genre( "Sci-Fi", "sci-fi"),
Genre( "Seinen", "seinen"),
Genre( "Shoujo", "shoujo"),
Genre( "Shounen", "shounen"),
Genre( "Slice of Life", "slice-of-life"),
Genre( "Smut", "smut"),
Genre( "Sports", "sports"),
Genre( "Supernatural", "supernatural"),
Genre( "Thriller", "thriller"),
Genre( "Tragedy", "tragedy"),
Genre( "Yaoi", "yaoi"),
Genre( "Yuri", "yuri")
)
}