I'm trying to get number of players from this website to string but it's not working. Here is my code:
public class Main {
public static void main(String[] args) throws IOException {
String url = "https://servers.fivem.net/servers/detail/4ljez8";
Document document = Jsoup.connect(url).get();
String players = document.select("div.players-count").first.text();
System.out.print(players);
}
}