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