So I've been trying to read the html code from kickass.to(it works fine on other sites) but all I get is some weird gibberish. My code:
BufferedReader in = new BufferedReader(
new InputStreamReader(new URL("http://kickass.to/").openStream()));
String s = "";
while ((s=in.readLine())!=null) System.out.println(s);
in.close();
For example: Does anyone knows why it does that? thanks!