forked from j62/ctbrec
1
0
Fork 0

Remove console output

This commit is contained in:
0xb00bface 2020-09-29 13:24:38 +02:00
parent ad3a8d9e48
commit 099ccc9399
5 changed files with 0 additions and 8 deletions

View File

@ -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";

View File

@ -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);

View File

@ -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++) {

View File

@ -27,8 +27,4 @@ public class Java {
return 0; return 0;
} }
} }
public static void main(String[] args) {
System.out.println(Java.version());
}
} }

View File

@ -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");