From b7536c0e37a313fc49951a93c2b8842f439ac9b4 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Sun, 2 May 2021 15:12:24 -0300 Subject: [PATCH] Fix cover not loading at TS. (#6799) --- src/pt/taosect/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/pt/taosect/TaoSect.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pt/taosect/build.gradle b/src/pt/taosect/build.gradle index 7ed534858..b3cfc17c2 100644 --- a/src/pt/taosect/build.gradle +++ b/src/pt/taosect/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Tao Sect' pkgNameSuffix = 'pt.taosect' extClass = '.TaoSect' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' } diff --git a/src/pt/taosect/src/eu/kanade/tachiyomi/extension/pt/taosect/TaoSect.kt b/src/pt/taosect/src/eu/kanade/tachiyomi/extension/pt/taosect/TaoSect.kt index ee5c65f69..66396a45a 100644 --- a/src/pt/taosect/src/eu/kanade/tachiyomi/extension/pt/taosect/TaoSect.kt +++ b/src/pt/taosect/src/eu/kanade/tachiyomi/extension/pt/taosect/TaoSect.kt @@ -120,7 +120,7 @@ class TaoSect : ParsedHttpSource() { genre = header.select("table.tabela-projeto tr:eq(10) a").joinToString { it.text() } status = header.select("table.tabela-projeto tr:eq(4) td:eq(1)")!!.text().toStatus() description = header.select("table.tabela-projeto tr:eq(9) p")!!.text() - thumbnail_url = header.select("div.imagens-projeto img[alt]").first()!!.attr("src") + thumbnail_url = header.select("div.imagens-projeto img[alt]").first()!!.attr("data-src") } override fun chapterListParse(response: Response): List { @@ -263,7 +263,7 @@ class TaoSect : ParsedHttpSource() { companion object { private const val USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " + - "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36" + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36" private val DATE_FORMATTER by lazy { SimpleDateFormat("(dd/MM/yyyy)", Locale.ENGLISH) }