From: David ‘Bombe’ Roden Date: Fri, 27 May 2016 05:35:38 +0000 (+0200) Subject: Add watcher that gets Hamburg’s weather X-Git-Tag: v2~136 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ecc5dee21c4093a2dec2df06f6dc4a0c7f85edf7;p=rhynodge.git Add watcher that gets Hamburg’s weather --- 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() +)