diff --git a/src/en/homeheroscans/build.gradle b/src/en/homeheroscans/build.gradle index ac8cd2f02..d4f093142 100644 --- a/src/en/homeheroscans/build.gradle +++ b/src/en/homeheroscans/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Home Hero Scans' pkgNameSuffix = "en.homeheroscans" extClass = '.HomeHeroScans' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' } diff --git a/src/en/homeheroscans/src/eu/kanade/tachiyomi/extension/en/homeheroscans/HomeHeroScans.kt b/src/en/homeheroscans/src/eu/kanade/tachiyomi/extension/en/homeheroscans/HomeHeroScans.kt index d1b94f444..4880098a6 100644 --- a/src/en/homeheroscans/src/eu/kanade/tachiyomi/extension/en/homeheroscans/HomeHeroScans.kt +++ b/src/en/homeheroscans/src/eu/kanade/tachiyomi/extension/en/homeheroscans/HomeHeroScans.kt @@ -121,8 +121,8 @@ open class HomeHeroScans : HttpSource() { override fun chapterListRequest(manga: SManga): Request { val series = "$baseUrl${manga.url}".toHttpUrlOrNull()!!.queryParameter("series") - return POST( - "$baseUrl/api/chapters", headers, """{"series":"$series"}""".toRequestBody("text/plain;charset=utf-8".toMediaTypeOrNull()) + return GET( + "$baseUrl/api/chapters?series=$series", headers ) }