Updated manga Id selector (#14473)

Incorrect manga id was caused app not to fetch chapter list correctly.
Affected delimiter has been updated.
This commit is contained in:
jamesnorritz 2022-12-09 07:08:04 +05:30 committed by GitHub
parent 46d12a0a42
commit a9cac11f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Raw-Manga'
pkgNameSuffix = 'en.rawmanga'
extClass = '.RawManga'
extVersionCode = 1
extVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -88,7 +88,7 @@ class RawManga : ParsedHttpSource() {
override fun chapterListParse(response: Response): List<SChapter> {
val mangaId = response.asJsoup().selectFirst(".btn-danger").attr("onclick")
.substringAfter("(").substringBefore(")")
.substringAfter("showAllCHaps(").substringBefore(")")
val chapters = client.newCall(GET("$baseUrl/pieces/chaps.php?mng=$mangaId", headers)).execute()