From 7d5181cb9a014360f23d4d3e710210a0a06a29a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 10 Feb 2024 08:32:28 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=94=8A=20Log=20parsed=20movies=20in=20Savo?= =?utf8?q?y=20filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../rhynodge/filters/webpages/savoy/SavoyTicketsFilter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/webpages/savoy/SavoyTicketsFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/webpages/savoy/SavoyTicketsFilter.java index c418a4c..8f2fc74 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/webpages/savoy/SavoyTicketsFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/webpages/savoy/SavoyTicketsFilter.java @@ -22,6 +22,7 @@ import net.pterodactylus.rhynodge.State; import net.pterodactylus.rhynodge.states.HtmlState; import net.pterodactylus.rhynodge.states.OutputState; +import org.apache.log4j.Logger; import org.jetbrains.annotations.NotNull; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; @@ -47,6 +48,7 @@ public class SavoyTicketsFilter implements Filter { HtmlState htmlState = (HtmlState) state; Collection movies = movieExtractor.getMovies(htmlState.document()); + Logger.getLogger(SavoyTicketsFilter.class).debug("Parsed Movies: " + movies); return new OutputState(getPlainTextOutput(movies), getHtmlOutput(movies)); } -- 2.7.4