更新QQ机器人

修复机器人协议问题
This commit is contained in:
2023-07-25 16:04:50 +08:00
parent 9fdf670c26
commit a34fafc39c
5 changed files with 39 additions and 8 deletions

View File

@@ -195,7 +195,7 @@ public class GetSeTu extends Model {
url = url.replace("&r18=0", "&r18=2").replace("&r18=1", "&r18=2");
}
System.out.println("url = " + url);
String ret = HttpTools.http_get(url, null, true);
String ret = HttpTools.http_get(url, null, false);
JSONObject json = JSON.parseObject(ret);
if (json.getJSONArray("data").size() == 0) {
return false;