Skip to content

Commit

Permalink
Bacakomik: fix empty pages (#6222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riztard authored Mar 20, 2021
1 parent 244afd2 commit 9f26f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/id/bacakomik/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'Bacakomik'
pkgNameSuffix = 'id.bacakomik'
extClass = '.Bacakomik'
extVersionCode = 2
extVersionCode = 3
libVersion = '1.2'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class Bacakomik : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>()
var i = 0
document.select("div#chimg noscript img").forEach { element ->
document.select("div.imgch-auh img").forEach { element ->
val url = element.attr("src")
i++
if (url.isNotEmpty()) {
Expand Down

0 comments on commit 9f26f2b

Please sign in to comment.