From 039171a07ca06a8849289ad344c5ac1d09c8ed9c Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 23 Mar 2018 23:28:57 +0100 Subject: [PATCH] TooLinux: details and content were inversed --- src/be/nikiroo/gofetch/support/TooLinux.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.27.0