Fix myreadingmanga having non-working images every 2nd image (#422)

Fix myreadingmanga having non-working images every 2nd image
This commit is contained in:
Logan B 2018-08-02 04:06:19 +12:00 committed by Carlos
parent afa08dea12
commit db10d901f8
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: MyReadingManga'
pkgNameSuffix = "all.myreadingmanga"
extClass = '.MyReadingMangaFactory'
extVersionCode = 3
extVersionSuffix = 2
extVersionCode = 4
extVersionSuffix = 3
libVersion = '1.2'
}

View File

@ -137,7 +137,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("div.separator img")
val elements = body.select("div.separator noscript img")
(0 until elements.size).mapTo(pages) { Page(it, "", elements[it].attr("src")) }