✨ Add watcher for Chief O’Brien at Work
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 21 Jan 2022 09:22:22 +0000 (10:22 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 21 Jan 2022 09:22:22 +0000 (10:22 +0100)
src/main/java/net/pterodactylus/rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt [new file with mode: 0644]

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 (file)
index 0000000..132dd74
--- /dev/null
@@ -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()