diff --git a/jar/spider.jar b/jar/spider.jar index c9e5df5..0f595cc 100644 Binary files a/jar/spider.jar and b/jar/spider.jar differ diff --git a/json/config.json b/json/config.json index 6a2649e..76648a5 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "../jar/spider.jar;md5;58848cd724e2f9a14f4e61eff7f4d7c5", + "spider": "../jar/spider.jar;md5;d8564a11c706a4d1ab71872f12a91c32", "sites": [ { "key": "Douban", @@ -27,6 +27,14 @@ "searchable": 1, "changeable": 0, "ext": {} + }, { + "key": "KuaKeBa", + "name": "夸克吧", + "type": 3, + "api": "csp_KuaKeBa", + "searchable": 1, + "changeable": 1, + "ext": {} }, { "key": "glod", diff --git a/json/configAll.json b/json/configAll.json index 3595e6c..b81a1a3 100644 --- a/json/configAll.json +++ b/json/configAll.json @@ -1,5 +1,5 @@ { - "spider": "../jar/spider.jar;md5;58848cd724e2f9a14f4e61eff7f4d7c5", + "spider": "../jar/spider.jar;md5;d8564a11c706a4d1ab71872f12a91c32", "sites": [ { "key": "Douban", diff --git a/src/main/java/com/github/catvod/api/QuarkApi.java b/src/main/java/com/github/catvod/api/QuarkApi.java index e326435..4eb29f8 100644 --- a/src/main/java/com/github/catvod/api/QuarkApi.java +++ b/src/main/java/com/github/catvod/api/QuarkApi.java @@ -353,7 +353,8 @@ public ShareData getShareData(String url) { private boolean getVip() throws Exception { Map listData = Json.parseSafe(api("member?pr=ucpro&fr=pc&uc_param_str=&fetch_subscribe=true&_ch=home&fetch_identity=true", null, null, 0, "GET"), Map.class); - return "EXP_SVIP".equals(((Map) listData.get("data")).get("member_type")); + return ((Map) listData.get("data")).get("member_type").contains("VIP"); + } public List getPlayFormatList() {