ReadMangaToday - fix pages (#2697)

ReadMangaToday - fix pages
This commit is contained in:
Mike 2020-04-17 16:58:39 -04:00 committed by GitHub
parent 52da22ba09
commit 7ef7fe679d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: ReadMangaToday'
pkgNameSuffix = 'en.readmangatoday'
extClass = '.Readmangatoday'
extVersionCode = 8
extVersionCode = 9
libVersion = '1.2'
}

View File

@ -165,13 +165,9 @@ class Readmangatoday : ParsedHttpSource() {
}
override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>()
document.select("div.content-list img").forEachIndexed{ i, img ->
pages.add(Page(i, "", img.attr("abs:src")))
return document.select("div.content-list > img").mapIndexed{ i, img ->
Page(i, "", img.attr("abs:src"))
}
return pages
}
override fun imageUrlParse(document: Document): String = throw UnsupportedOperationException("Not used")