From 45bfae259450bd8380113056df768c2f76011527 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 15 Sep 2020 23:36:47 +0200 Subject: [PATCH] =?utf8?q?=E2=9C=A8=20Add=20watcher=20for=20Soggy=20Cardbo?= =?utf8?q?ard?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../pterodactylus/rhynodge/watchers/SoggyCardboardWatcher.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/kotlin/net/pterodactylus/rhynodge/watchers/SoggyCardboardWatcher.kt diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/watchers/SoggyCardboardWatcher.kt b/src/main/kotlin/net/pterodactylus/rhynodge/watchers/SoggyCardboardWatcher.kt new file mode 100644 index 0000000..e68e218 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/rhynodge/watchers/SoggyCardboardWatcher.kt @@ -0,0 +1,12 @@ +package net.pterodactylus.rhynodge.watchers + +import net.pterodactylus.rhynodge.filters.HtmlFilter +import net.pterodactylus.rhynodge.filters.comics.SoggyCardboardComicFilter +import net.pterodactylus.rhynodge.queries.HttpQuery +import net.pterodactylus.rhynodge.triggers.NewComicTrigger + +class SoggyCardboardWatcher : DefaultWatcher(query, filters, trigger) + +private val query = HttpQuery("http://www.soggycardboard.com/") +private val filters = listOf(HtmlFilter(), SoggyCardboardComicFilter()) +private val trigger = NewComicTrigger() -- 2.7.4