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'
|
||||
pkgNameSuffix = 'pt.goldenmangas'
|
||||
extClass = '.GoldenMangas'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,8 @@ class GoldenMangas : ParsedHttpSource() {
|
|||
}
|
||||
|
||||
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
|
||||
.mapIndexed { i, element -> Page(i, "", baseUrl + element.attr("src"))}
|
||||
|
|
Loading…
Reference in New Issue