WP-Comics - fix double pages (#2662)
This commit is contained in:
parent
090b7b4463
commit
7357093dde
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: WP-Comics'
|
||||
pkgNameSuffix = 'all.wpcomics'
|
||||
extClass = '.WPComicsFactory'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@ abstract class WPComics(
|
|||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.select(pageListSelector).mapNotNull { img -> imageOrNull(img) }
|
||||
.distinct()
|
||||
.mapIndexed { i, image -> Page(i, "", image)}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue