X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Fsupport%2FSlashdot.java;h=6a5395498de5894657e39311cc68ee3b8f9529e2;hb=588b54b87668da980ca64c032831c78106b233be;hp=5b5612fba705a769e50f3cbbbb0216a295e5a956;hpb=70b18499defd9bd4c32f1d60ac44b971678308c2;p=gofetch.git diff --git a/src/be/nikiroo/gofetch/support/Slashdot.java b/src/be/nikiroo/gofetch/support/Slashdot.java index 5b5612f..6a53954 100644 --- a/src/be/nikiroo/gofetch/support/Slashdot.java +++ b/src/be/nikiroo/gofetch/support/Slashdot.java @@ -76,7 +76,7 @@ public class Slashdot extends BasicSupport { } @Override - public List getComments(Story story) throws IOException { + public void fetch(Story story) throws IOException { List comments = new ArrayList(); URL url = new URL(story.getUrlInternal()); @@ -87,7 +87,7 @@ public class Slashdot extends BasicSupport { comments.addAll(getComments(listing)); } - return comments; + story.setComments(comments); } private List getComments(Element listing) {