X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=inline;f=src%2Fbe%2Fnikiroo%2Fgofetch%2Fsupport%2FPipedot.java;fp=src%2Fbe%2Fnikiroo%2Fgofetch%2Fsupport%2FPipedot.java;h=2436540f20c6c8748f9d4b8c6b693c4c985c45d1;hb=5c056aade2e020276e039f81acba7bcb2b12e87f;hp=4d68fe7821df1c7b781d7ef02e52384384e44530;hpb=2527107526aea628df09c3ad53432e9a5480fcd7;p=gofetch.git diff --git a/src/be/nikiroo/gofetch/support/Pipedot.java b/src/be/nikiroo/gofetch/support/Pipedot.java index 4d68fe7..2436540 100644 --- a/src/be/nikiroo/gofetch/support/Pipedot.java +++ b/src/be/nikiroo/gofetch/support/Pipedot.java @@ -89,7 +89,7 @@ public class Pipedot 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()); @@ -100,7 +100,7 @@ public class Pipedot extends BasicSupport { comments.addAll(getComments(listing.get(0))); } - return comments; + story.setComments(comments); } private List getComments(Element listing) {