fix mangajar pages issue (#5945)

This commit is contained in:
Riztard Lanthorn 2021-02-21 22:18:06 +07:00 committed by GitHub
parent e492b4e729
commit 08b6f0f8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaJar' extName = 'MangaJar'
pkgNameSuffix = 'en.mangajar' pkgNameSuffix = 'en.mangajar'
extClass = '.MangaJar' extClass = '.MangaJar'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -143,7 +143,7 @@ class MangaJar : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
return document.select("img[data-page]").mapIndexed { i, element -> return document.select("img[data-page]").mapIndexed { i, element ->
Page(i, "", element.attr("src")) Page(i, "", element.attr("data-alternative"))
} }
} }