Updated MRM page list selection (11/28/18) (#648)
Updated MRM page list selection (11/28/18)
This commit is contained in:
parent
38b2fc151b
commit
f48005b363
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MyReadingManga'
|
appName = 'Tachiyomi: MyReadingManga'
|
||||||
pkgNameSuffix = 'all.myreadingmanga'
|
pkgNameSuffix = 'all.myreadingmanga'
|
||||||
extClass = '.MyReadingMangaFactory'
|
extClass = '.MyReadingMangaFactory'
|
||||||
extVersionCode = 16
|
extVersionCode = 17
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() {
|
||||||
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("[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) {
|
for (i in 0 until elements.size) {
|
||||||
pages.add(Page(i, "", getImage(elements[i])))
|
pages.add(Page(i, "", getImage(elements[i])))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue