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