Parse HTML from HTTP request before processing it
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 May 2016 22:15:47 +0000 (00:15 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 27 May 2016 22:15:47 +0000 (00:15 +0200)
src/main/kotlin/net/pterodactylus/rhynodge/webpages/weather/wettercom/WetterComHamburgWatcher.kt

index 948ecc9..5b73d01 100644 (file)
@@ -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()
 )