TMO & LectorManga: Fix page list is empty "Cascada" mode
This commit is contained in:
parent
212db65276
commit
5f08e8e5ec
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'LectorManga'
|
||||
pkgNameSuffix = 'es.lectormanga'
|
||||
extClass = '.LectorManga'
|
||||
extVersionCode = 12
|
||||
extVersionCode = 13
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
@ -219,7 +219,7 @@ class LectorManga : ConfigurableSource, ParsedHttpSource() {
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply {
|
||||
if (getPageMethod() == "cascade") {
|
||||
document.select("img.viewer-img").forEach {
|
||||
document.select("div.viewer-container img").forEach {
|
||||
add(Page(size, "", it.let {
|
||||
if (it.hasAttr("data-src"))
|
||||
it.attr("abs:data-src") else it.attr("abs:src")
|
||||
|
@ -5,7 +5,7 @@ ext {
|
||||
extName = 'TuMangaOnline'
|
||||
pkgNameSuffix = 'es.tumangaonline'
|
||||
extClass = '.TuMangaOnline'
|
||||
extVersionCode = 27
|
||||
extVersionCode = 28
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
@ -229,7 +229,7 @@ class TuMangaOnline : ConfigurableSource, ParsedHttpSource() {
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply {
|
||||
if (getPageMethod() == "cascade") {
|
||||
document.select("img.viewer-img").forEach {
|
||||
document.select("div.viewer-container img").forEach {
|
||||
add(Page(size, "", it.let {
|
||||
if (it.hasAttr("data-src"))
|
||||
it.attr("abs:data-src") else it.attr("abs:src")
|
||||
|
Loading…
x
Reference in New Issue
Block a user