Fixes MyReadingManga downloads and selector (#578)

Fixes MyReadingManga downloads and selector
This commit is contained in:
Martín 2018-10-21 12:50:33 +02:00 committed by Carlos
parent d19e247364
commit 920e086613
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: MyReadingManga'
pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory'
extVersionCode = 12
extVersionCode = 13
libVersion = '1.2'
}

View File

@ -163,9 +163,9 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
override fun pageListParse(response: Response): List<Page> {
val body = response.asJsoup()
val pages = mutableListOf<Page>()
val elements = body.select(".entry-content>*>img")
val elements = body.select(".separator [data-lazyloaded='1']")
for (i in 0 until elements.size) {
pages.add(Page(1, "", getImage(elements[i])))
pages.add(Page(i, "", getImage(elements[i])))
}
return pages
}