Add watcher for “The Monster under the Bed”
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Jul 2018 18:30:59 +0000 (20:30 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Jul 2018 18:30:59 +0000 (20:30 +0200)
src/main/kotlin/net/pterodactylus/rhynodge/watchers/TheMonsterUnderTheBedWatcher.kt [new file with mode: 0644]

diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/watchers/TheMonsterUnderTheBedWatcher.kt b/src/main/kotlin/net/pterodactylus/rhynodge/watchers/TheMonsterUnderTheBedWatcher.kt
new file mode 100644 (file)
index 0000000..214bfb9
--- /dev/null
@@ -0,0 +1,12 @@
+package net.pterodactylus.rhynodge.watchers
+
+import net.pterodactylus.rhynodge.filters.*
+import net.pterodactylus.rhynodge.filters.comics.*
+import net.pterodactylus.rhynodge.queries.*
+import net.pterodactylus.rhynodge.triggers.*
+
+class TheMonsterUnderTheBedWatcher : DefaultWatcher(query, filters, trigger)
+
+private val query = HttpQuery("http://themonsterunderthebed.net/")
+private val filters = listOf(HtmlFilter(), TheMonsterUnderTheBedFilter())
+private val trigger = NewComicTrigger()