forked from j62/ctbrec
Remove console output
This commit is contained in:
parent
ad3a8d9e48
commit
099ccc9399
|
@ -80,7 +80,6 @@ public class ShowupFollowedUpdateService extends PaginatedScheduledService {
|
||||||
private Map<String, String> parseOnlineModels(JSONObject json) {
|
private Map<String, String> parseOnlineModels(JSONObject json) {
|
||||||
var onlineModels = new HashMap<String, String>();
|
var onlineModels = new HashMap<String, String>();
|
||||||
JSONArray online = json.getJSONArray("online");
|
JSONArray online = json.getJSONArray("online");
|
||||||
System.out.println(online.toString(2));
|
|
||||||
for (int i = 0; i < online.length(); i++) {
|
for (int i = 0; i < online.length(); i++) {
|
||||||
JSONObject m = online.getJSONObject(i);
|
JSONObject m = online.getJSONObject(i);
|
||||||
String preview = site.getBaseUrl() + "/files/" + m.optString("big_img") + ".jpg";
|
String preview = site.getBaseUrl() + "/files/" + m.optString("big_img") + ".jpg";
|
||||||
|
|
|
@ -54,7 +54,6 @@ public class StreamateUpdateService extends PaginatedScheduledService {
|
||||||
List<Model> models = new ArrayList<>();
|
List<Model> models = new ArrayList<>();
|
||||||
String content = response.body().string();
|
String content = response.body().string();
|
||||||
JSONObject json = new JSONObject(content);
|
JSONObject json = new JSONObject(content);
|
||||||
System.err.println(json.toString(2));
|
|
||||||
JSONArray performers = json.getJSONArray("performers");
|
JSONArray performers = json.getJSONArray("performers");
|
||||||
for (int i = 0; i < performers.length(); i++) {
|
for (int i = 0; i < performers.length(); i++) {
|
||||||
JSONObject p = performers.getJSONObject(i);
|
JSONObject p = performers.getJSONObject(i);
|
||||||
|
|
|
@ -69,7 +69,6 @@ public class StripchatFollowedUpdateService extends PaginatedScheduledService {
|
||||||
try (Response response = stripchat.getHttpClient().execute(request)) {
|
try (Response response = stripchat.getHttpClient().execute(request)) {
|
||||||
if (response.isSuccessful()) {
|
if (response.isSuccessful()) {
|
||||||
JSONObject json = new JSONObject(response.body().string());
|
JSONObject json = new JSONObject(response.body().string());
|
||||||
System.err.println(json.toString(2));
|
|
||||||
if (json.has("models")) {
|
if (json.has("models")) {
|
||||||
JSONArray users = json.getJSONArray("models");
|
JSONArray users = json.getJSONArray("models");
|
||||||
for (int i = 0; i < users.length(); i++) {
|
for (int i = 0; i < users.length(); i++) {
|
||||||
|
|
|
@ -27,8 +27,4 @@ public class Java {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
System.out.println(Java.version());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,7 +152,6 @@ public class LiveJasminTippingWebSocket {
|
||||||
if (response.isSuccessful()) {
|
if (response.isSuccessful()) {
|
||||||
String body = response.body().string();
|
String body = response.body().string();
|
||||||
JSONObject json = new JSONObject(body);
|
JSONObject json = new JSONObject(body);
|
||||||
// System.out.println(json.toString(2));
|
|
||||||
if (json.optBoolean("success")) {
|
if (json.optBoolean("success")) {
|
||||||
JSONObject data = json.getJSONObject("data");
|
JSONObject data = json.getJSONObject("data");
|
||||||
JSONObject config = data.getJSONObject("config");
|
JSONObject config = data.getJSONObject("config");
|
||||||
|
|
Loading…
Reference in New Issue