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:
parent
46d12a0a42
commit
a9cac11f86
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'Raw-Manga'
|
extName = 'Raw-Manga'
|
||||||
pkgNameSuffix = 'en.rawmanga'
|
pkgNameSuffix = 'en.rawmanga'
|
||||||
extClass = '.RawManga'
|
extClass = '.RawManga'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -88,7 +88,7 @@ class RawManga : ParsedHttpSource() {
|
|||||||
|
|
||||||
override fun chapterListParse(response: Response): List<SChapter> {
|
override fun chapterListParse(response: Response): List<SChapter> {
|
||||||
val mangaId = response.asJsoup().selectFirst(".btn-danger").attr("onclick")
|
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()
|
val chapters = client.newCall(GET("$baseUrl/pieces/chaps.php?mng=$mangaId", headers)).execute()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user