diff --git a/src/all/wpcomics/build.gradle b/src/all/wpcomics/build.gradle index b57c1ecca..6b21872df 100644 --- a/src/all/wpcomics/build.gradle +++ b/src/all/wpcomics/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: WP-Comics' pkgNameSuffix = 'all.wpcomics' extClass = '.WPComicsFactory' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComics.kt b/src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComics.kt index f244e82b4..74bd321fe 100644 --- a/src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComics.kt +++ b/src/all/wpcomics/src/eu/kanade/tachiyomi/extension/all/wpcomics/WPComics.kt @@ -149,6 +149,7 @@ abstract class WPComics( override fun pageListParse(document: Document): List { return document.select(pageListSelector).mapNotNull { img -> imageOrNull(img) } + .distinct() .mapIndexed { i, image -> Page(i, "", image)} }