From f2b7556735b47c3f42197615db2edb68dd057248 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 28 May 2016 00:15:47 +0200 Subject: [PATCH] Parse HTML from HTTP request before processing it --- .../rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 index 948ecc9..5b73d01 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt @@ -1,5 +1,6 @@ package net.pterodactylus.rhynodge.webpages.weather.wettercom +import net.pterodactylus.rhynodge.filters.HtmlFilter import net.pterodactylus.rhynodge.queries.HttpQuery import net.pterodactylus.rhynodge.watchers.DefaultWatcher @@ -10,6 +11,6 @@ import net.pterodactylus.rhynodge.watchers.DefaultWatcher */ class WetterComHamburgWatcher : DefaultWatcher( HttpQuery("http://www.wetter.com/wetter_aktuell/wettervorhersage/heute/deutschland/hamburg/DE0004130.html"), - listOf(WetterComFilter()), + listOf(HtmlFilter(), WetterComFilter()), WetterComTrigger() ) -- 2.7.4