X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Frhynodge%2Fwatchers%2FGeneralProtectionFaultWatcher.java;h=fae911aa94008238f23c0f0971fc421d78bb9b90;hb=15e9d53a33f0b1b6070243d7d3f1aba4c647f38c;hp=1bb999c37b367689dc71d770f992a19856f8f148;hpb=829e0558e83db219a2f2a6be8630fe4af31d016c;p=rhynodge.git diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/GeneralProtectionFaultWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/GeneralProtectionFaultWatcher.java index 1bb999c..fae911a 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/GeneralProtectionFaultWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/GeneralProtectionFaultWatcher.java @@ -22,8 +22,8 @@ import java.util.Arrays; import net.pterodactylus.rhynodge.Watcher; import net.pterodactylus.rhynodge.filters.HtmlFilter; import net.pterodactylus.rhynodge.filters.comics.GeneralProtectionFaultComicFilter; +import net.pterodactylus.rhynodge.mergers.ComicMerger; import net.pterodactylus.rhynodge.queries.HttpQuery; -import net.pterodactylus.rhynodge.triggers.NewComicTrigger; /** * {@link Watcher} implementation that watches for new General Protection Fault @@ -35,7 +35,7 @@ public class GeneralProtectionFaultWatcher extends DefaultWatcher { /** Creates a new watcher for Cyanide and Happiness comics. */ public GeneralProtectionFaultWatcher() { - super(new HttpQuery("http://www.gpf-comics.com/"), Arrays.asList(new HtmlFilter(), new GeneralProtectionFaultComicFilter()), new NewComicTrigger()); + super(new HttpQuery("https://www.gpf-comics.com/"), Arrays.asList(new HtmlFilter(), new GeneralProtectionFaultComicFilter()), new ComicMerger()); } }