RawKuma: update chapter list selector (#11324)

they added a download link
This commit is contained in:
AwkwardPeak7 2025-10-29 19:07:15 +05:00 committed by Draff
parent 3b8be5fd2c
commit a2d9686eeb
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Rawkuma' extName = 'Rawkuma'
extClass = '.Rawkuma' extClass = '.Rawkuma'
extVersionCode = 34 extVersionCode = 35
isNsfw = true isNsfw = true
} }

View File

@ -293,7 +293,7 @@ class Rawkuma : HttpSource() {
override fun chapterListParse(response: Response): List<SChapter> { override fun chapterListParse(response: Response): List<SChapter> {
val document = Jsoup.parseBodyFragment(response.body.string(), baseUrl) val document = Jsoup.parseBodyFragment(response.body.string(), baseUrl)
return document.select("#chapter-list a").map { return document.select("#chapter-list > div[data-chapter-number] > a").map {
SChapter.create().apply { SChapter.create().apply {
setUrlWithoutDomain(it.absUrl("href")) setUrlWithoutDomain(it.absUrl("href"))
name = it.selectFirst("div > span")!!.ownText() name = it.selectFirst("div > span")!!.ownText()