1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-22 21:43:06 +02:00

utf-8 in title

This commit is contained in:
soloturn
2021-04-06 20:33:20 +02:00
parent 5dd83daee3
commit d6941f429e

View File

@@ -186,9 +186,10 @@ public class EightmusesRipper extends AbstractHTMLRipper {
private String deobfuscateChar(char c) { private String deobfuscateChar(char c) {
if ((int) c == 32) { if ((int) c == 32) {
return fromCharCode(32); return fromCharCode(32);
} else if ((int) c > 120){
return fromCharCode((int)c);
} }
return fromCharCode(33 + (c + 14) % 94); return fromCharCode(33 + (c + 14) % 94);
} }
private static String fromCharCode(int... codePoints) { private static String fromCharCode(int... codePoints) {