parent
8e86f6b723
commit
5a4c6a39bb
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Jinman Tiantang'
|
||||
extClass = '.Jinmantiantang'
|
||||
extVersionCode = 43
|
||||
extVersionCode = 44
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -251,13 +251,13 @@ class Jinmantiantang : ParsedHttpSource(), ConfigurableSource {
|
|||
// 漫画图片信息
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
tailrec fun internalParse(document: Document, pages: MutableList<Page>): List<Page> {
|
||||
val elements = document.select("div[class=center scramble-page][id*=0]")
|
||||
val elements = document.select("div[class=center scramble-page spnotice_chk][id*=0]")
|
||||
for (element in elements) {
|
||||
pages.apply {
|
||||
if (element.select("div[class=center scramble-page][id*=0] img").attr("src").indexOf("blank.jpg") >= 0) {
|
||||
add(Page(size, "", element.select("div[class=center scramble-page][id*=0] img").attr("data-original").split("\\?")[0]))
|
||||
if (element.select("div[class=center scramble-page spnotice_chk][id*=0] img").attr("data-cfsrc").indexOf("blank.jpg") >= 0) {
|
||||
add(Page(size, "", element.select("div[class=center scramble-page spnotice_chk][id*=0] img").attr("data-original").split("\\?")[0]))
|
||||
} else {
|
||||
add(Page(size, "", element.select("div[class=center scramble-page][id*=0] img").attr("src").split("\\?")[0]))
|
||||
add(Page(size, "", element.select("div[class=center scramble-page spnotice_chk][id*=0] img").attr("src").split("\\?")[0]))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue