Removed some debugging statments

This commit is contained in:
cyian-1756 2018-07-25 00:03:28 -04:00
parent af33869e52
commit 0f3148f47f

View File

@ -191,12 +191,9 @@ public class EightmusesRipper extends AbstractHTMLRipper {
}
private String deobfuscateJSON(String obfuscatedString) {
LOGGER.info("obfuscatedString: " + obfuscatedString);
StringBuilder deobfuscatedString = new StringBuilder();
// The first char in one of 8muses obfuscated strings is always ! so we replace it
for (char ch : obfuscatedString.replaceFirst("!", "").toCharArray()){
LOGGER.info(ch + ":" + deobfuscateChar(ch));
LOGGER.info((int) ch + ":" + (int) deobfuscateChar(ch).charAt(0));
deobfuscatedString.append(deobfuscateChar(ch));
}
return deobfuscatedString.toString();