From: David ‘Bombe’ Roden Date: Wed, 25 Jul 2018 18:30:59 +0000 (+0200) Subject: Add watcher for “The Monster under the Bed” X-Git-Tag: v2~94 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=dad67185dcec8116c867f6348656abd63cd4537e;p=rhynodge.git Add watcher for “The Monster under the Bed” --- 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 index 0000000..214bfb9 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/rhynodge/watchers/TheMonsterUnderTheBedWatcher.kt @@ -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()