Skip to content

Commit

Permalink
夸克vip bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lushunming committed Oct 21, 2024
1 parent b47bf8e commit e03be54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/github/catvod/api/QuarkApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public ShareData getShareData(String url) {

private boolean getVip() throws Exception {
Map<String, Object> 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<String, String>) listData.get("data")).get("member_type"));
return ((Map<String, String>) listData.get("data")).get("member_type").contains("VIP");

}

public List<String> getPlayFormatList() {
Expand Down

0 comments on commit e03be54

Please sign in to comment.