Kill Six billion Demons: fix a bug (#3463)

* Kill Six billion Demons: fix a bug

* Bump extension version
This commit is contained in:
Aria Moradi 2020-06-10 01:01:25 +04:30 committed by GitHub
parent c1cd5509b4
commit bdc3a5d05b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Kill Six Billion Demons'
pkgNameSuffix = 'en.killsixbilliondemons'
extClass = '.KillSixBillionDemons'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
}

View File

@ -143,9 +143,9 @@ class KillSixBillionDemons : HttpSource() {
var pageNum = 1
wordpressPages.forEach { wordpressPage ->
wordpressPage.select(".post-content .entry a:has(img)").forEach { _ ->
wordpressPage.select(".post-content .entry a:has(img)").forEach { postImage ->
chapterPages.add(
Page(pageNum, wordpressPage.attr("href"), wordpressPage.select("img").attr("src"))
Page(pageNum, postImage.attr("href"), postImage.select("img").attr("src"))
)
pageNum++
}