Merge branch 'experimental' of https://github.com/Jafea7/ctbrec-5.3.2-original into experimental
This commit is contained in:
commit
73e1b4ba0c
|
@ -113,7 +113,6 @@ public class WinkTv extends AbstractSite {
|
|||
if (StringUtil.isBlank(q)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
String url = "https://api.winktv.co.kr/v1/live";
|
||||
FormBody body = new FormBody.Builder()
|
||||
.add("offset", "0")
|
||||
|
@ -132,7 +131,6 @@ public class WinkTv extends AbstractSite {
|
|||
.header(ORIGIN, getBaseUrl())
|
||||
.post(body)
|
||||
.build();
|
||||
|
||||
try (Response response = getHttpClient().execute(req)) {
|
||||
if (!response.isSuccessful()) {
|
||||
throw new HttpException(response.code(), response.message());
|
||||
|
@ -156,7 +154,6 @@ public class WinkTv extends AbstractSite {
|
|||
model.setPreview(result.optString("thumbUrl"));
|
||||
models.add(model);
|
||||
}
|
||||
|
||||
return models;
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +176,6 @@ public class WinkTv extends AbstractSite {
|
|||
"https://.*?pandalive.co.kr/live/play/([_a-zA-Z0-9]+)",
|
||||
"https://.*?pandalive.co.kr/channel/([_a-zA-Z0-9]+)"
|
||||
};
|
||||
|
||||
for (String pattern : patterns) {
|
||||
Matcher m = Pattern.compile(pattern).matcher(url);
|
||||
if (m.matches()) {
|
||||
|
|
Loading…
Reference in New Issue