add Isekai for kissmanga and fix genre search bug (#550)

This commit is contained in:
Carlos 2018-10-13 14:33:57 -04:00 committed by GitHub
parent a91ea8182e
commit ab49ffef91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 8 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: Kissmanga' appName = 'Tachiyomi: Kissmanga'
pkgNameSuffix = 'en.kissmanga' pkgNameSuffix = 'en.kissmanga'
extClass = '.Kissmanga' extClass = '.Kissmanga'
extVersionCode = 7 extVersionCode = 8
extVersionSuffix = 4 extVersionSuffix = 5
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -5,11 +5,7 @@ import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.POST import eu.kanade.tachiyomi.network.POST
import eu.kanade.tachiyomi.source.model.* import eu.kanade.tachiyomi.source.model.*
import eu.kanade.tachiyomi.source.online.ParsedHttpSource import eu.kanade.tachiyomi.source.online.ParsedHttpSource
import okhttp3.FormBody import okhttp3.*
import okhttp3.Headers
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
import org.jsoup.nodes.Document import org.jsoup.nodes.Document
import org.jsoup.nodes.Element import org.jsoup.nodes.Element
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
@ -31,7 +27,7 @@ class Kissmanga : ParsedHttpSource() {
override fun headersBuilder(): Headers.Builder { override fun headersBuilder(): Headers.Builder {
return Headers.Builder() return Headers.Builder()
.add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) Gecko/20100101 Firefox/60") .add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) Gecko/20100101 Firefox/60")
} }
override fun popularMangaSelector() = "table.listing tr:gt(1)" override fun popularMangaSelector() = "table.listing tr:gt(1)"
@ -217,6 +213,7 @@ class Kissmanga : ParsedHttpSource() {
Genre("Harem"), Genre("Harem"),
Genre("Historical"), Genre("Historical"),
Genre("Horror"), Genre("Horror"),
Genre("Isekai"),
Genre("Josei"), Genre("Josei"),
Genre("Lolicon"), Genre("Lolicon"),
Genre("Manga"), Genre("Manga"),