From: Niki Roo Date: Fri, 23 Mar 2018 22:28:57 +0000 (+0100) Subject: TooLinux: details and content were inversed X-Git-Url: https://git.nikiroo.be/?p=gofetch.git;a=commitdiff_plain;h=039171a07ca06a8849289ad344c5ac1d09c8ed9c TooLinux: details and content were inversed --- diff --git a/src/be/nikiroo/gofetch/support/TooLinux.java b/src/be/nikiroo/gofetch/support/TooLinux.java index 8061331..0cc4c6c 100644 --- a/src/be/nikiroo/gofetch/support/TooLinux.java +++ b/src/be/nikiroo/gofetch/support/TooLinux.java @@ -69,10 +69,10 @@ public class TooLinux extends BasicSupport { id = intUrl.replace("/", "_"); } - Element detailsElement = article.getElementsByClass("introduction") + Element bodyElement = article.getElementsByClass("introduction") .first(); - if (detailsElement != null) { - details += StringUtils.unhtml(detailsElement.text()).trim(); + if (bodyElement != null) { + body = StringUtils.unhtml(bodyElement.text()).trim(); } list.add(new Story(getType(), id, title, author, date, categ,