使用方法:
private static Map<String, String> getXGorgan(String url, String cookie, String userAgent) throws Exception {
//提供大家免F使用,根据服务器性能,可能随时关闭该服务, 如果想要源码可以联系我QQ:66974195
String key = "1YZhQz7KsJ28GdjU";
String ip = "49.235.132.88";
String signUrl = String.format("http" + "://%s:10199/s/sign?key=%s&url=%s&cookie=%s&userAgent=%s", ip, key, URLEncoder.encode(url, "UTF-8"), URLEncoder.encode(cookie, "UTF-8"), URLEncoder.encode(userAgent, "UTF-8"));
String body = HttpUtil.createGet(signUrl).timeout(10000).execute().body();
JSONObject result = JSONUtil.parseObj(body);
if(result.getInt("code") == 0){
return (Map)result.getJSONObject("data");
}else
return null;