X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Fsupport%2FTooLinux.java;h=0cc4c6cf58839d9646ad5d567f48767dfdff068e;hb=039171a07ca06a8849289ad344c5ac1d09c8ed9c;hp=806133128eb2ec56111e0828a46ede739637d4ee;hpb=31755801cf5c2e2502e1222928d56c11f64dbdfe;p=gofetch.git 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,