Home Hero Scans Fix HTTP Error 500 (#7282)
* Fix HTTP Error 500 * Update build.gradle
This commit is contained in:
parent
d7031daaeb
commit
b15d718ebb
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Home Hero Scans'
|
||||
pkgNameSuffix = "en.homeheroscans"
|
||||
extClass = '.HomeHeroScans'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue