夸克盘

This commit is contained in:
lushunming 2024-08-28 16:22:47 +08:00
parent 3e7d93d5c3
commit 717bd77313
8 changed files with 11 additions and 5 deletions

View File

@ -36,6 +36,10 @@ public class Cloud extends Spider {
return null; return null;
} }
@Override
public String playerContent(String flag, String id, List<String> vipFlags) throws Exception {
return flag.contains("quark") ? quark.playerContent(flag, id, vipFlags) : ali.playerContent(flag, id, vipFlags);
}
protected String detailContentVodPlayFrom(List<String> shareLinks) { protected String detailContentVodPlayFrom(List<String> shareLinks) {
List<String> from = new ArrayList<>(); List<String> from = new ArrayList<>();

View File

@ -136,6 +136,8 @@ public class Wogg extends Cloud {
return searchContent(key, pg); return searchContent(key, pg);
} }
private String searchContent(String key, String pg) { private String searchContent(String key, String pg) {
String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg); String searchURL = siteUrl + String.format("/index.php/vodsearch/%s----------%s---.html", URLEncoder.encode(key), pg);
String html = OkHttp.string(searchURL, getHeader()); String html = OkHttp.string(searchURL, getHeader());

View File

@ -76,7 +76,7 @@ public class WoggTest {
@org.junit.Test @org.junit.Test
public void playerContent() throws Exception { public void playerContent() throws Exception {
String content = spider.playerContent("轉存原畫", "sTpdhKkg18j+66a32d0a1d147f930c5e462db86e7eb629ee947e", new ArrayList<>()); String content = spider.playerContent("quark4K", "dc59b0932afd40d0a22f36000677601e++6f9d159fdc95595863011d419b6e6ff9++564626ac1ea7++cBtIFnirbHfAa6y/su8FxbPHk8mzXfrmSWBnV56+LQo=", new ArrayList<>());
JsonObject map = Json.safeObject(content); JsonObject map = Json.safeObject(content);
Gson gson = new GsonBuilder().setPrettyPrinting().create(); Gson gson = new GsonBuilder().setPrettyPrinting().create();
System.out.println("playerContent--" + gson.toJson(map)); System.out.println("playerContent--" + gson.toJson(map));

Binary file not shown.

View File

@ -1 +1 @@
cb5b012dd9492ea90f5ebc3542a4f0c6 18916220184c13bb3ece0ae4aba0b182

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;cb5b012dd9492ea90f5ebc3542a4f0c6", "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;18916220184c13bb3ece0ae4aba0b182",
"lives": [ "lives": [
{ {
"name": "直播ipv6", "name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;cb5b012dd9492ea90f5ebc3542a4f0c6", "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;18916220184c13bb3ece0ae4aba0b182",
"lives": [ "lives": [
{ {
"name": "直播ipv6", "name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;cb5b012dd9492ea90f5ebc3542a4f0c6", "spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;18916220184c13bb3ece0ae4aba0b182",
"lives": [ "lives": [
{ {
"name": "直播ipv6", "name": "直播ipv6",