diff --git a/src/en/mangaowl/build.gradle b/src/en/mangaowl/build.gradle index ee023f00f..48671bb3f 100644 --- a/src/en/mangaowl/build.gradle +++ b/src/en/mangaowl/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MangaOwl' pkgNameSuffix = 'en.mangaowl' extClass = '.MangaOwl' - extVersionCode = 6 + extVersionCode = 7 libVersion = '1.2' } diff --git a/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt b/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt index dfd1e7c10..8a99fbbf5 100644 --- a/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt +++ b/src/en/mangaowl/src/eu/kanade/tachiyomi/extension/en/mangaowl/MangaOwl.kt @@ -67,7 +67,7 @@ class MangaOwl : ParsedHttpSource() { // Search override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - return GET("$baseUrl/search/$query/$page", headers) + return GET("$baseUrl/search/$page?search=$query", headers) } override fun searchMangaSelector() = popularMangaSelector() @@ -125,7 +125,7 @@ class MangaOwl : ParsedHttpSource() { private fun parseChapterDate(string: String): Long { return try { - dateFormat.parse(string).time + dateFormat.parse(string)?.time ?: 0 } catch (_: ParseException) { 0 }