Fix myreadingmanga having non-working images every 2nd image (#422)
Fix myreadingmanga having non-working images every 2nd image
This commit is contained in:
parent
afa08dea12
commit
db10d901f8
|
@ -5,8 +5,8 @@ ext {
|
|||
appName = 'Tachiyomi: MyReadingManga'
|
||||
pkgNameSuffix = "all.myreadingmanga"
|
||||
extClass = '.MyReadingMangaFactory'
|
||||
extVersionCode = 3
|
||||
extVersionSuffix = 2
|
||||
extVersionCode = 4
|
||||
extVersionSuffix = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -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")) }
|
||||
|
||||
|
|
Loading…
Reference in New Issue