Dm5: Fix chapter list not loading (#9573)
This commit is contained in:
parent
f6945c3b71
commit
54f4552fcc
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Dm5'
|
||||
extClass = '.Dm5'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -82,8 +82,7 @@ class Dm5 : ParsedHttpSource(), ConfigurableSource {
|
||||
override fun chapterListParse(response: Response): List<SChapter> {
|
||||
val document = response.asJsoup()
|
||||
// May need to click button on website to read
|
||||
document.selectFirst("ul#detail-list-select-1")?.attr("class")
|
||||
?: throw Exception("請到webview確認")
|
||||
document.selectFirst("div#chapterlistload") ?: throw Exception("請到webview確認")
|
||||
val li = document.select("div#chapterlistload li > a").map {
|
||||
SChapter.create().apply {
|
||||
url = it.attr("href")
|
||||
|
Loading…
x
Reference in New Issue
Block a user