Fix images loading problems (#8914)

* Update build.gradle

* Update HentaiFox.kt
This commit is contained in:
Clouddark75 2021-09-01 08:02:39 -04:00 committed by GitHub
parent feb8f7929f
commit 28ad547c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
pkgNameSuffix = 'en.hentaifox' pkgNameSuffix = 'en.hentaifox'
extClass = '.HentaiFox' extClass = '.HentaiFox'
extVersionCode = 2 extVersionCode = 2
libVersion = '1.2' libVersion = '1.3'
containsNsfw = true containsNsfw = true
} }

View File

@ -134,7 +134,7 @@ class HentaiFox : ParsedHttpSource() {
} }
override fun imageUrlParse(document: Document): String { override fun imageUrlParse(document: Document): String {
return document.select("img#gimg").attr("abs:src") return document.select("img#gimg").attr("abs:data-src")
} }
override fun pageListParse(document: Document): List<Page> = throw UnsupportedOperationException("Not used") override fun pageListParse(document: Document): List<Page> = throw UnsupportedOperationException("Not used")