From 0769e9e67d7bd227a82a753d48c1d1588f7a8b92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 21 Jan 2022 10:22:22 +0100 Subject: [PATCH] =?utf8?q?=E2=9C=A8=20Add=20watcher=20for=20Chief=20O?= =?utf8?q?=E2=80=99Brien=20at=20Work?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/java/net/pterodactylus/rhynodge/watchers/ChiefOBrienAtWorkWatcher.kt 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() -- 2.7.4