Fix duplicate pages in chapters in Golden Mangas
This commit is contained in:
parent
13ee08b0ae
commit
57fb6d1b28
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Golden Mangás'
|
appName = 'Tachiyomi: Golden Mangás'
|
||||||
pkgNameSuffix = 'pt.goldenmangas'
|
pkgNameSuffix = 'pt.goldenmangas'
|
||||||
extClass = '.GoldenMangas'
|
extClass = '.GoldenMangas'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,8 @@ class GoldenMangas : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val pages = document.select("div.col-sm-12[id^='capitulos_images'] img[pag]")
|
val chapImages = document.select("div.col-sm-12[id^='capitulos_images']").first()
|
||||||
|
val pages = chapImages.select("img[pag]")
|
||||||
|
|
||||||
return pages
|
return pages
|
||||||
.mapIndexed { i, element -> Page(i, "", baseUrl + element.attr("src"))}
|
.mapIndexed { i, element -> Page(i, "", baseUrl + element.attr("src"))}
|
||||||
|
|
Loading…
Reference in New Issue