From f00053ab3bfc56105f993108beb0ad1812d64065 Mon Sep 17 00:00:00 2001 From: Andy Bao Date: Sat, 13 Apr 2019 06:58:04 -0400 Subject: [PATCH] Fix invalid selector in Webtoons extension (#1016) Fix invalid selector in Webtoons extension --- .../src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt b/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt index 6822fb631..104792480 100644 --- a/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt +++ b/src/en/webtoons/src/eu/kanade/tachiyomi/extension/en/webtoons/Webtoons.kt @@ -125,7 +125,7 @@ class Webtoons : ParsedHttpSource() { manga.genre = detailElement.select(".genre").map { it.text() }.joinToString(", ") manga.description = infoElement.select("p.summary").text() manga.status = infoElement.select("p.day_info").text().orEmpty().let { parseStatus(it) } - manga.thumbnail_url = discoverPic.select("img").not("[alt=Representative image").first()?.attr("src") ?: picElement.attr("style")?.substringAfter("url(")?.substringBeforeLast(")") + manga.thumbnail_url = discoverPic.select("img").not("[alt='Representative image']").first()?.attr("src") ?: picElement.attr("style")?.substringAfter("url(")?.substringBeforeLast(")") return manga }