MyReadingManga - fix pages (#3869)

This commit is contained in:
Mike 2020-07-22 03:01:59 -04:00 committed by GitHub
parent 201aad33c8
commit d85e7e91fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MyReadingManga' extName = 'MyReadingManga'
pkgNameSuffix = 'all.myreadingmanga' pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory' extClass = '.MyReadingMangaFactory'
extVersionCode = 36 extVersionCode = 37
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -208,9 +208,8 @@ open class MyReadingManga(override val lang: String, private val siteLang: Strin
// Pages // Pages
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
return document.select("div > img").mapIndexed { i, img -> return (document.select("div > img") + document.select("div.separator img[data-src]"))
Page(i, "", getImage(img)) .mapIndexed { i, img -> Page(i, "", getImage(img)) }
}
} }
override fun imageUrlParse(document: Document) = throw Exception("Not used") override fun imageUrlParse(document: Document) = throw Exception("Not used")