forked from j62/ctbrec
1
0
Fork 0

Fix Cam4 model details link

This commit is contained in:
0xb00bface 2020-12-04 21:04:11 +01:00
parent 75131cd325
commit 9e2074ba59
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class Cam4Model extends AbstractModel {
}
private void loadModelDetails() throws IOException, ModelDetailsEmptyException {
String url = site.getBaseUrl() + "/getBroadcasting?usernames=" + getName();
String url = site.getBaseUrl() + "/directoryCams?directoryJson=true&online=true&username=" + getName();
LOG.trace("Loading model details {}", url);
Request req = new Request.Builder().url(url).build();
try (Response response = site.getHttpClient().execute(req)) {