Scantrad - double pages fix (#1675)

Scantrad - double pages fix
This commit is contained in:
Mike 2019-10-19 20:19:21 -04:00 committed by arkon
parent 32de7342cb
commit c23919892b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Scantrad' appName = 'Tachiyomi: Scantrad'
pkgNameSuffix = 'fr.scantrad' pkgNameSuffix = 'fr.scantrad'
extClass = '.Scantrad' extClass = '.Scantrad'
extVersionCode = 1 extVersionCode = 2
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -171,7 +171,7 @@ class Scantrad : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>() val pages = mutableListOf<Page>()
document.select("div.center select[name=chapter-page] option").forEachIndexed { i, page -> document.select("div.center select[name=chapter-page]:not(.mobile) option").forEachIndexed { i, page ->
pages.add(Page(i, page.attr("value"), "")) pages.add(Page(i, page.attr("value"), ""))
} }