From db10d901f8d1c133fc326e137bfb2bb029041b66 Mon Sep 17 00:00:00 2001 From: Logan B Date: Thu, 2 Aug 2018 04:06:19 +1200 Subject: [PATCH] Fix myreadingmanga having non-working images every 2nd image (#422) Fix myreadingmanga having non-working images every 2nd image --- src/all/myreadingmanga/build.gradle | 4 ++-- .../tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/myreadingmanga/build.gradle b/src/all/myreadingmanga/build.gradle index 52649dcce..f910d99e4 100644 --- a/src/all/myreadingmanga/build.gradle +++ b/src/all/myreadingmanga/build.gradle @@ -5,8 +5,8 @@ ext { appName = 'Tachiyomi: MyReadingManga' pkgNameSuffix = "all.myreadingmanga" extClass = '.MyReadingMangaFactory' - extVersionCode = 3 - extVersionSuffix = 2 + extVersionCode = 4 + extVersionSuffix = 3 libVersion = '1.2' } diff --git a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt index 43294f86f..fdb16a1b4 100644 --- a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt +++ b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt @@ -137,7 +137,7 @@ open class MyReadingManga(override val lang: String) : ParsedHttpSource() { override fun pageListParse(response: Response): List { val body = response.asJsoup() val pages = mutableListOf() - 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")) }