Tapas - use data-src (#2455)
This commit is contained in:
parent
e0bf25bd65
commit
e141c4a887
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Tapas'
|
||||
pkgNameSuffix = 'en.tapastic'
|
||||
extClass = '.Tapastic'
|
||||
extVersionCode = 5
|
||||
extVersionCode = 6
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ class Tapastic : ParsedHttpSource() {
|
|||
|
||||
override fun pageListParse(document: Document): List<Page> = mutableListOf<Page>().apply {
|
||||
document.select("img.content__img").forEach {
|
||||
add(Page(size, "", it.attr("src")))
|
||||
add(Page(size, "", if (it.hasAttr("data-src")) it.attr("abs:data-src") else it.attr("abs:src")))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue