X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Frhynodge%2Fwatchers%2FXkcdWatcher.java;h=a3632810ffc1ceea10229f168fae9697581f55d1;hb=HEAD;hp=360652aff69a0063e12713a26c920b14d08db678;hpb=d98b6e32d1d5f31dfd6abd050c88ff7767cfc3f0;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/XkcdWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/XkcdWatcher.java index 360652a..a363281 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/XkcdWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/XkcdWatcher.java @@ -21,8 +21,8 @@ import java.util.Arrays; import net.pterodactylus.rhynodge.filters.HtmlFilter; import net.pterodactylus.rhynodge.filters.comics.XkcdComicFilter; +import net.pterodactylus.rhynodge.mergers.ComicMerger; import net.pterodactylus.rhynodge.queries.HttpQuery; -import net.pterodactylus.rhynodge.triggers.NewComicTrigger; /** * {@link net.pterodactylus.rhynodge.Watcher} implementation that watches XKCD @@ -34,7 +34,7 @@ public class XkcdWatcher extends DefaultWatcher { /** Creates a new XKCD watcher. */ public XkcdWatcher() { - super(new HttpQuery("http://xkcd.com/"), Arrays.asList(new HtmlFilter(), new XkcdComicFilter()), new NewComicTrigger()); + super(new HttpQuery("https://xkcd.com/"), Arrays.asList(new HtmlFilter(), new XkcdComicFilter()), new ComicMerger()); } }