here is my code so far
import java.io.IOException;
import java.util.*;
public class Main {
//rules for challenge: No using CPS more than 50
// only do humanly possible things
public static void main(String[] args) {
final String url = "https://orteil.dashnet.org/experiments/cookie/";
final Document document;
try {
document = Jsoup.connect(url).get();
} catch (IOException e) {
throw new RuntimeException(e);
}
Elements money = document.select("money");
System.out.println(document.outerHtml());
}
}
in short, im trying to get the amount of cookies i have fomr the classic cookie clicker game, my end goal is to make a bot for it