RawKuma: update chapter list selector (#11324)
they added a download link
This commit is contained in:
parent
3b8be5fd2c
commit
a2d9686eeb
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Rawkuma'
|
extName = 'Rawkuma'
|
||||||
extClass = '.Rawkuma'
|
extClass = '.Rawkuma'
|
||||||
extVersionCode = 34
|
extVersionCode = 35
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user