From 420a806b897d1c43fe32da72b45130f39e56c31e Mon Sep 17 00:00:00 2001 From: Julien Papasian Date: Sun, 28 Mar 2021 12:10:57 +0100 Subject: [PATCH] ScanManga: fix searching with special characters (#6321) * ScanManga: fix searching with special characters * ScanManga: bump extVersionCode --- src/fr/scanmanga/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/fr/scanmanga/ScanManga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/scanmanga/build.gradle b/src/fr/scanmanga/build.gradle index c180e08fb..41c1ba996 100644 --- a/src/fr/scanmanga/build.gradle +++ b/src/fr/scanmanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Scan-Manga' pkgNameSuffix = 'fr.scanmanga' extClass = '.ScanManga' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' containsNsfw = true } diff --git a/src/fr/scanmanga/src/eu/kanade/tachiyomi/extension/fr/scanmanga/ScanManga.kt b/src/fr/scanmanga/src/eu/kanade/tachiyomi/extension/fr/scanmanga/ScanManga.kt index a89a1de3f..9fd38eca5 100644 --- a/src/fr/scanmanga/src/eu/kanade/tachiyomi/extension/fr/scanmanga/ScanManga.kt +++ b/src/fr/scanmanga/src/eu/kanade/tachiyomi/extension/fr/scanmanga/ScanManga.kt @@ -106,7 +106,7 @@ class ScanManga : ParsedHttpSource() { override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { val searchHeaders = headersBuilder().apply { - add("Referer", "$baseUrl/scanlation/liste_series.html?q=$query") + add("Referer", "$baseUrl/scanlation/liste_series.html") add("x-requested-with", "XMLHttpRequest") }.build() return GET("$baseUrl/scanlation/scan.data.json", searchHeaders)