fix parseChapterPage selector (#5773)
This commit is contained in:
parent
e3ddf94daf
commit
3a7bfbbd6a
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'E-Hentai'
|
extName = 'E-Hentai'
|
||||||
extClass = '.EHFactory'
|
extClass = '.EHFactory'
|
||||||
extVersionCode = 20
|
extVersionCode = 21
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -131,9 +131,9 @@ abstract class EHentai(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun parseChapterPage(response: Element) = with(response) {
|
private fun parseChapterPage(response: Element) = with(response) {
|
||||||
select(".gdtm a").map {
|
select("#gdt a").map {
|
||||||
Pair(it.child(0).attr("alt").toInt(), it.attr("href"))
|
it.attr("href")
|
||||||
}.sortedBy(Pair<Int, String>::first).map { it.second }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun chapterPageCall(np: String) = client.newCall(chapterPageRequest(np)).asObservableSuccess()
|
private fun chapterPageCall(np: String) = client.newCall(chapterPageRequest(np)).asObservableSuccess()
|
||||||
|
|
Loading…
Reference in New Issue