Update RenaScans (#2740)

Update RenaScans
This commit is contained in:
AbdullahM0hamed 2020-04-21 21:41:01 +01:00 committed by GitHub
parent 0fe9f390ce
commit 5d9be48f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Renaissance Scans' appName = 'Tachiyomi: Renaissance Scans'
pkgNameSuffix = 'en.renascans' pkgNameSuffix = 'en.renascans'
extClass = '.Renascans' extClass = '.Renascans'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -134,7 +134,10 @@ class Renascans : ParsedHttpSource() {
val pages = mutableListOf<Page>() val pages = mutableListOf<Page>()
document.select("div.col-xs-12 img")?.forEach { document.select("div.col-xs-12 img")?.forEach {
pages.add(Page(pages.size, "", it.attr("data-src"))) var page = it.attr("data-src")
if (page.isNotEmpty()) {
pages.add(Page(pages.size, "", page))
}
} }
return pages return pages