From b454ed81992f5fc51abf0cc121a9dd0b0a141150 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Wed, 2 Jan 2019 13:03:48 +0100 Subject: [PATCH] Remove resize param from madame url --- .../java/net/Broken/Commands/Over18/Madame.java | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/Broken/Commands/Over18/Madame.java b/src/main/java/net/Broken/Commands/Over18/Madame.java index 9b48ca6..8c4f6bf 100644 --- a/src/main/java/net/Broken/Commands/Over18/Madame.java +++ b/src/main/java/net/Broken/Commands/Over18/Madame.java @@ -17,7 +17,7 @@ import java.io.IOException; /** * Madame command that return random picture from dites.bonjourmadame.fr */ -@NoDev +//@NoDev public class Madame extends NumberedCommande { Logger logger = LogManager.getLogger(); MessageReceivedEvent event; @@ -52,7 +52,7 @@ public class Madame extends NumberedCommande { * @throws StringIndexOutOfBoundsException * @throws IOException */ - public static boolean scanPageForTipeee(String url, Logger logger) throws StringIndexOutOfBoundsException, IOException { + private boolean scanPageForTipeee(String url, Logger logger) throws StringIndexOutOfBoundsException, IOException { String content = FindContentOnWebPage.getSourceUrl(url); String imgClickLink = content.substring(content.indexOf("class=\"post-content")); imgClickLink = imgClickLink.substring(imgClickLink.indexOf("