From: David ‘Bombe’ Roden Date: Tue, 15 Sep 2020 21:36:47 +0000 (+0200) Subject: ✨ Add watcher for Soggy Cardboard X-Git-Tag: v2~92 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=45bfae259450bd8380113056df768c2f76011527;p=rhynodge.git ✨ Add watcher for Soggy Cardboard --- 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()