MRM - Update Page Selector (#3667)

This commit is contained in:
happywillow0 2020-07-01 13:55:13 -04:00 committed by GitHub
parent f4fa994be3
commit d4cae5093a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MyReadingManga' extName = 'MyReadingManga'
pkgNameSuffix = 'all.myreadingmanga' pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory' extClass = '.MyReadingMangaFactory'
extVersionCode = 34 extVersionCode = 35
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -204,7 +204,7 @@ open class MyReadingManga(override val lang: String, private val siteLang: Strin
override fun pageListParse(response: Response): List<Page> { override fun pageListParse(response: Response): List<Page> {
val body = response.asJsoup() val body = response.asJsoup()
val pages = mutableListOf<Page>() val pages = mutableListOf<Page>()
val elements = body.select("img[data-lazy-src]:not([width='120']):not([data-original-width='300'])") val elements = body.select("div>img")
for (i in 0 until elements.size) { for (i in 0 until elements.size) {
pages.add(Page(i, "", getImage(elements[i]))) pages.add(Page(i, "", getImage(elements[i])))
} }