From ecc5dee21c4093a2dec2df06f6dc4a0c7f85edf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 27 May 2016 07:35:38 +0200 Subject: [PATCH] =?utf8?q?Add=20watcher=20that=20gets=20Hamburg=E2=80=99s?= =?utf8?q?=20weather?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../webpages/weather/wettercom/WetterComHamburgWatcher.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt b/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt new file mode 100644 index 0000000..948ecc9 --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt @@ -0,0 +1,15 @@ +package net.pterodactylus.rhynodge.webpages.weather.wettercom + +import net.pterodactylus.rhynodge.queries.HttpQuery +import net.pterodactylus.rhynodge.watchers.DefaultWatcher + +/** + * [DefaultWatcher] implementation that gets the weather for Hamburg. + * + * @author [David ‘Bombe’ Roden](mailto:bombe@pterodactylus.net) + */ +class WetterComHamburgWatcher : DefaultWatcher( + HttpQuery("http://www.wetter.com/wetter_aktuell/wettervorhersage/heute/deutschland/hamburg/DE0004130.html"), + listOf(WetterComFilter()), + WetterComTrigger() +) -- 2.7.4