forked from j62/ctbrec
Fix Cam4 model details link
This commit is contained in:
parent
75131cd325
commit
9e2074ba59
|
@ -58,7 +58,7 @@ public class Cam4Model extends AbstractModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadModelDetails() throws IOException, ModelDetailsEmptyException {
|
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);
|
LOG.trace("Loading model details {}", url);
|
||||||
Request req = new Request.Builder().url(url).build();
|
Request req = new Request.Builder().url(url).build();
|
||||||
try (Response response = site.getHttpClient().execute(req)) {
|
try (Response response = site.getHttpClient().execute(req)) {
|
||||||
|
|
Loading…
Reference in New Issue