From ab49ffef91730e8ab78e246cb05453a96be9619c Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 13 Oct 2018 14:33:57 -0400 Subject: [PATCH] add Isekai for kissmanga and fix genre search bug (#550) --- src/en/kissmanga/build.gradle | 4 ++-- .../kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/en/kissmanga/build.gradle b/src/en/kissmanga/build.gradle index c3b8cbd4d..82902f0f8 100644 --- a/src/en/kissmanga/build.gradle +++ b/src/en/kissmanga/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: Kissmanga' pkgNameSuffix = 'en.kissmanga' extClass = '.Kissmanga' - extVersionCode = 7 - extVersionSuffix = 4 + extVersionCode = 8 + extVersionSuffix = 5 libVersion = '1.2' } diff --git a/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt b/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt index 681b59e1b..89e45a36e 100644 --- a/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt +++ b/src/en/kissmanga/src/eu/kanade/tachiyomi/extension/en/kissmanga/Kissmanga.kt @@ -5,11 +5,7 @@ import eu.kanade.tachiyomi.network.GET import eu.kanade.tachiyomi.network.POST import eu.kanade.tachiyomi.source.model.* import eu.kanade.tachiyomi.source.online.ParsedHttpSource -import okhttp3.FormBody -import okhttp3.Headers -import okhttp3.OkHttpClient -import okhttp3.Request -import okhttp3.Response +import okhttp3.* import org.jsoup.nodes.Document import org.jsoup.nodes.Element import java.text.SimpleDateFormat @@ -31,7 +27,7 @@ class Kissmanga : ParsedHttpSource() { override fun headersBuilder(): 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)" @@ -217,6 +213,7 @@ class Kissmanga : ParsedHttpSource() { Genre("Harem"), Genre("Historical"), Genre("Horror"), + Genre("Isekai"), Genre("Josei"), Genre("Lolicon"), Genre("Manga"),