fix mangajar pages issue (#5945)
This commit is contained in:
parent
e492b4e729
commit
08b6f0f8ce
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue