Updated to Mozilla/5.0 ! (not really)

This commit is contained in:
boy0001 2015-07-19 03:30:41 +10:00
parent 4fe2973ccf
commit 5ba7442396

View File

@ -879,7 +879,7 @@ public class PS {
try { try {
URL history = new URL(url); URL history = new URL(url);
URLConnection con = history.openConnection(); URLConnection con = history.openConnection();
con.addRequestProperty("User-Agent", "Mozilla/4.0"); con.addRequestProperty("User-Agent", "Mozilla/5.0");
InputStream stream = con.getInputStream(); InputStream stream = con.getInputStream();
BufferedReader in = new BufferedReader(new InputStreamReader(stream)); BufferedReader in = new BufferedReader(new InputStreamReader(stream));
String l; String l;