Updated MRM page list selection (11/28/18) (#648)

Updated MRM page list selection (11/28/18)
This commit is contained in:
happywillow0 2018-11-28 17:50:58 -05:00 committed by Carlos
parent 38b2fc151b
commit f48005b363
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -163,7 +163,7 @@ 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("[data-original-width]:not([width='120']):not([data-original-width='300'])")
val elements = body.select("img[data-lazy-src]:not([width='120']):not([data-original-width='300'])")
for (i in 0 until elements.size) {
pages.add(Page(i, "", getImage(elements[i])))
}