🔒️ Update a bunch of URLs to https
[rhynodge.git] / src / main / java / net / pterodactylus / rhynodge / watchers / SaturdayMorningBreakfastCerealWatcher.java
index b1f616e..d909f07 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * rhynodge - CyanideAndHappinessWatcher.java - Copyright © 2013 David Roden
+ * rhynodge - SaturdayMorningBreakfastCerealWatcher.java - Copyright © 2013 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -22,12 +22,12 @@ import java.util.Arrays;
 import net.pterodactylus.rhynodge.Watcher;
 import net.pterodactylus.rhynodge.filters.HtmlFilter;
 import net.pterodactylus.rhynodge.filters.comics.SaturdayMorningBreakfastCerealComicFilter;
+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 Cyanide and Happiness
- * comics.
+ * {@link Watcher} implementation that watches for new Saturday Morning
+ * Breakfast Cereal comics.
  *
  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
@@ -35,7 +35,7 @@ public class SaturdayMorningBreakfastCerealWatcher extends DefaultWatcher {
 
        /** Creates a new watcher for Cyanide and Happiness comics. */
        public SaturdayMorningBreakfastCerealWatcher() {
-               super(new HttpQuery("http://www.smbc-comics.com/"), Arrays.asList(new HtmlFilter(), new SaturdayMorningBreakfastCerealComicFilter()), new NewComicTrigger());
+               super(new HttpQuery("https://www.smbc-comics.com/"), Arrays.asList(new HtmlFilter(), new SaturdayMorningBreakfastCerealComicFilter()), new ComicMerger());
        }
 
 }