From: David ‘Bombe’ Roden Date: Fri, 21 Jan 2022 09:22:22 +0000 (+0100) Subject: ✨ Add watcher for Chief O’Brien at Work X-Git-Tag: v2~54 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0769e9e67d7bd227a82a753d48c1d1588f7a8b92;p=rhynodge.git ✨ Add watcher for Chief O’Brien at Work --- diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt b/src/main/java/net/pterodactylus/rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt new file mode 100644 index 0000000..132dd74 --- /dev/null +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt @@ -0,0 +1,13 @@ +package net.pterodactylus.rhynodge.watchers + +import net.pterodactylus.rhynodge.filters.HtmlFilter +import net.pterodactylus.rhynodge.filters.comics.ChiefOBrienAtWorkComicFilter +import net.pterodactylus.rhynodge.mergers.ComicMerger +import net.pterodactylus.rhynodge.queries.HttpQuery + +@Suppress("unused") +class ChiefOBrienAtWorkWatcher : DefaultWatcher(query, filters, merger) + +private val query = HttpQuery("https://chiefobrienatwork.com/") +private val filters = listOf(HtmlFilter(), ChiefOBrienAtWorkComicFilter()) +private val merger = ComicMerger()