parent
a9210e81a2
commit
c3cc08a133
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Rawdevart'
|
appName = 'Tachiyomi: Rawdevart'
|
||||||
pkgNameSuffix = 'ja.rawdevart'
|
pkgNameSuffix = 'ja.rawdevart'
|
||||||
extClass = '.Rawdevart'
|
extClass = '.Rawdevart'
|
||||||
extVersionCode = 3
|
extVersionCode = 4
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -210,11 +210,9 @@ class Rawdevart : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val script = document.select("script:containsData(const pages)").html()
|
var pages = mutableListOf<Page>()
|
||||||
val list = script.substringAfter("const pages = [\"").substringBefore("\",]").split("\",\"")
|
document.select("img.not-lazy[data-src]").forEachIndexed { i, img ->
|
||||||
val pages = mutableListOf<Page>()
|
pages.add(Page(i, "", img.attr("data-src")))
|
||||||
list.forEachIndexed { i, img ->
|
|
||||||
pages.add(Page(i, "", img))
|
|
||||||
}
|
}
|
||||||
return pages
|
return pages
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue