Fixes MyReadingManga downloads and selector (#578)
Fixes MyReadingManga downloads and selector
This commit is contained in:
parent
d19e247364
commit
920e086613
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MyReadingManga'
|
appName = 'Tachiyomi: MyReadingManga'
|
||||||
pkgNameSuffix = 'all.myreadingmanga'
|
pkgNameSuffix = 'all.myreadingmanga'
|
||||||
extClass = '.MyReadingMangaFactory'
|
extClass = '.MyReadingMangaFactory'
|
||||||
extVersionCode = 12
|
extVersionCode = 13
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,9 +163,9 @@ 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(".entry-content>*>img")
|
val elements = body.select(".separator [data-lazyloaded='1']")
|
||||||
for (i in 0 until elements.size) {
|
for (i in 0 until elements.size) {
|
||||||
pages.add(Page(1, "", getImage(elements[i])))
|
pages.add(Page(i, "", getImage(elements[i])))
|
||||||
}
|
}
|
||||||
return pages
|
return pages
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue