Changing MyReadingManga selector again, it's getting a way more stupid selector each time (#592)

Fixes MyReadingManga selector once again
This commit is contained in:
Martín 2018-10-29 10:11:42 +01:00 committed by Carlos
parent c0cd5a2d11
commit eee440cb7b
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 = 14
extVersionCode = 15
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(".separator [data-lazyloaded='1']")
val elements = body.select("[data-lazyloaded='1']:not([width='120']):not([data-original-width='300'])")
for (i in 0 until elements.size) {
pages.add(Page(i, "", getImage(elements[i])))
}