'更新可用状态'

This commit is contained in:
zhangjie committed 2024-04-17 12:11:10 +08:00
1 parent c0469fc8f3
commit cc1e79393c
4 files changed
+3 -12

No files matched your search

@@ -163,16 +163,7 @@ public class XMVideo extends Spider {
@Override
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
String target = playUrl.concat(id);
Document doc = Jsoup.parse(OkHttp.string(target));
String regex = "\"url\\\":\\\"(.*?)\\\",\\\"url_next\\\":";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(doc.html());
String url = "";
if (matcher.find()) {
url = URLDecoder.decode(matcher.group(1), "UTF-8").split("&")[0];
}
String url = id;
return Result.get().url(url).header(getHeaders()).string();
}
}
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
625c69bcb0c11d2a338df0f20d05a804
489b16c0ecda7987365cddd6b4d94fb2
+1 -1
View File
@@ -1,5 +1,5 @@
{
"spider": "https://mirror.ghproxy.com/https://github.com/bizhangjie/CatVodSpider/blob/main/jar/custom_spider.jar;md5;625c69bcb0c11d2a338df0f20d05a804",
"spider": "https://mirror.ghproxy.com/https://github.com/bizhangjie/CatVodSpider/blob/main/jar/custom_spider.jar;md5;489b16c0ecda7987365cddd6b4d94fb2",
"lives": [
{
"name": "直播ipv6",