TMO & LectorManga: Fix page list is empty "Cascada" mode

This commit is contained in:
Edgar Mejia 2020-08-06 12:44:34 -06:00
parent 212db65276
commit 5f08e8e5ec
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'LectorManga'
pkgNameSuffix = 'es.lectormanga'
extClass = '.LectorManga'
extVersionCode = 12
extVersionCode = 13
libVersion = '1.2'
}

View File

@ -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")

View File

@ -5,7 +5,7 @@ ext {
extName = 'TuMangaOnline'
pkgNameSuffix = 'es.tumangaonline'
extClass = '.TuMangaOnline'
extVersionCode = 27
extVersionCode = 28
libVersion = '1.2'
}

View File

@ -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")