diff --git a/src/en/tapastic/build.gradle b/src/en/tapastic/build.gradle index e0961562b..783ceb08a 100644 --- a/src/en/tapastic/build.gradle +++ b/src/en/tapastic/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Tapas' pkgNameSuffix = 'en.tapastic' extClass = '.Tapastic' - extVersionCode = 5 + extVersionCode = 6 libVersion = '1.2' } diff --git a/src/en/tapastic/src/eu/kanade/tachiyomi/extension/en/tapastic/Tapastic.kt b/src/en/tapastic/src/eu/kanade/tachiyomi/extension/en/tapastic/Tapastic.kt index f3a0b5708..b28cdbcaa 100644 --- a/src/en/tapastic/src/eu/kanade/tachiyomi/extension/en/tapastic/Tapastic.kt +++ b/src/en/tapastic/src/eu/kanade/tachiyomi/extension/en/tapastic/Tapastic.kt @@ -152,7 +152,7 @@ class Tapastic : ParsedHttpSource() { override fun pageListParse(document: Document): List = mutableListOf().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"))) } }