|
@@ -31,7 +31,7 @@ public class GenerateUtils {
|
|
BufferedReader in = null;
|
|
BufferedReader in = null;
|
|
try {
|
|
try {
|
|
//建立URL之间的连接
|
|
//建立URL之间的连接
|
|
- URLConnection conn = new URL("http://data.zz.baidu.com/urls?site=https://www.caimei365.com&token=hgKJrx3lqsPPCf73").openConnection();
|
|
|
|
|
|
+ URLConnection conn = new URL("http://data.zz.baidu.com/urls?site=https://www.caimei365.com&token=EdD7WZYXWnS8ZoHf").openConnection();
|
|
// 设置通用的请求属性
|
|
// 设置通用的请求属性
|
|
conn.setRequestProperty("User-Agent", "curl/7.12.1");
|
|
conn.setRequestProperty("User-Agent", "curl/7.12.1");
|
|
conn.setRequestProperty("Host", "data.zz.baidu.com");
|
|
conn.setRequestProperty("Host", "data.zz.baidu.com");
|