parent
4a8d233fe6
commit
26ea75c18a
|
@ -5,8 +5,8 @@ ext {
|
|||
appName = 'Tachiyomi: Mangago'
|
||||
pkgNameSuffix = "en.mangago"
|
||||
extClass = '.Mangago'
|
||||
extVersionCode = 3
|
||||
extVersionSuffix = 2
|
||||
extVersionCode = 4
|
||||
extVersionSuffix = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -219,42 +219,46 @@ class Mangago : ParsedHttpSource() {
|
|||
SortFilter()
|
||||
)
|
||||
|
||||
// Array.from(document.querySelectorAll('#genre_panel ul li:not(.genres_title) a')).map(a => `GenreFilter("${a.getAttribute('_id')}")`).sort().join(',\n')
|
||||
// on http://www.mangago.me/genre/all/
|
||||
private class GenreGroup : UriFilterGroup<GenreFilter>("Genres", listOf(
|
||||
GenreFilter("Yaoi"),
|
||||
GenreFilter("Doujinshi"),
|
||||
GenreFilter("Shounen Ai"),
|
||||
GenreFilter("Shoujo"),
|
||||
GenreFilter("Yuri"),
|
||||
GenreFilter("Romance"),
|
||||
GenreFilter("Fantasy"),
|
||||
GenreFilter("Smut"),
|
||||
GenreFilter("Adult"),
|
||||
GenreFilter("School Life"),
|
||||
GenreFilter("Mystery"),
|
||||
GenreFilter("Comedy"),
|
||||
GenreFilter("Ecchi"),
|
||||
GenreFilter("Shounen"),
|
||||
GenreFilter("Martial Arts"),
|
||||
GenreFilter("Shoujo Ai"),
|
||||
GenreFilter("Supernatural"),
|
||||
GenreFilter("Drama"),
|
||||
GenreFilter("Action"),
|
||||
GenreFilter("Adult"),
|
||||
GenreFilter("Adventure"),
|
||||
GenreFilter("Bara"),
|
||||
GenreFilter("Comedy"),
|
||||
GenreFilter("Doujinshi"),
|
||||
GenreFilter("Drama"),
|
||||
GenreFilter("Ecchi"),
|
||||
GenreFilter("Fantasy"),
|
||||
GenreFilter("Gender Bender"),
|
||||
GenreFilter("Harem"),
|
||||
GenreFilter("Historical"),
|
||||
GenreFilter("Horror"),
|
||||
GenreFilter("Josei"),
|
||||
GenreFilter("Martial Arts"),
|
||||
GenreFilter("Mature"),
|
||||
GenreFilter("Mecha"),
|
||||
GenreFilter("Mystery"),
|
||||
GenreFilter("One Shot"),
|
||||
GenreFilter("Psychological"),
|
||||
GenreFilter("Romance"),
|
||||
GenreFilter("School Life"),
|
||||
GenreFilter("Sci-fi"),
|
||||
GenreFilter("Seinen"),
|
||||
GenreFilter("Shotacon"),
|
||||
GenreFilter("Shoujo Ai"),
|
||||
GenreFilter("Shoujo"),
|
||||
GenreFilter("Shounen Ai"),
|
||||
GenreFilter("Shounen"),
|
||||
GenreFilter("Slice Of Life"),
|
||||
GenreFilter("Smut"),
|
||||
GenreFilter("Sports"),
|
||||
GenreFilter("Gender Bender"),
|
||||
GenreFilter("Supernatural"),
|
||||
GenreFilter("Tragedy"),
|
||||
GenreFilter("Bara"),
|
||||
GenreFilter("Shotacon")
|
||||
GenreFilter("Webtoons"),
|
||||
GenreFilter("Yaoi"),
|
||||
GenreFilter("Yuri")
|
||||
))
|
||||
|
||||
private class GenreFilter(name: String) : Filter.TriState(name)
|
||||
|
|
Loading…
Reference in New Issue