Fix invalid selector in Webtoons extension (#1016)

Fix invalid selector in Webtoons extension
This commit is contained in:
Andy Bao 2019-04-13 06:58:04 -04:00 committed by Carlos
parent 8364ac2d78
commit f00053ab3b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}