diff --git a/src/ja/rawdevartart/build.gradle b/src/ja/rawdevartart/build.gradle index 90dd6a353..4146a9c9a 100644 --- a/src/ja/rawdevartart/build.gradle +++ b/src/ja/rawdevartart/build.gradle @@ -1,7 +1,7 @@ ext { extName = "Rawdevart.art" extClass = ".Rawdevartart" - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/ja/rawdevartart/src/eu/kanade/tachiyomi/extension/ja/rawdevartart/Rawdevartart.kt b/src/ja/rawdevartart/src/eu/kanade/tachiyomi/extension/ja/rawdevartart/Rawdevartart.kt index fec3fb0bf..1db42644b 100644 --- a/src/ja/rawdevartart/src/eu/kanade/tachiyomi/extension/ja/rawdevartart/Rawdevartart.kt +++ b/src/ja/rawdevartart/src/eu/kanade/tachiyomi/extension/ja/rawdevartart/Rawdevartart.kt @@ -57,10 +57,11 @@ class Rawdevartart : HttpSource() { override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { val url = "$baseUrl/spa".toHttpUrl().newBuilder().apply { + addQueryParameter("page", page.toString()) + if (query.isNotEmpty()) { addPathSegment("search") addQueryParameter("query", query) - addQueryParameter("page", page.toString()) return@apply }