Merge branch 'experimental' of https://github.com/Jafea7/ctbrec-5.3.2-original into experimental

This commit is contained in:
jafea7 2025-05-05 23:18:12 +10:00
commit 73e1b4ba0c
1 changed files with 0 additions and 4 deletions

View File

@ -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()) {