Skip to content

Commit

Permalink
115pan
Browse files Browse the repository at this point in the history
  • Loading branch information
qaiu committed Jan 7, 2025
1 parent 2cf85ca commit 0b3c77d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parser/src/main/java/cn/qaiu/parser/impl/P115Tool.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

/**
* 115网盘
*
*
* 需要请求API的UA和请求下载链接的UA保持一致,安卓Chrome需要访问电脑版才能下载
*/
public class P115Tool extends PanBase {
Expand Down Expand Up @@ -75,8 +75,8 @@ public Future<String> parse() {
.set("file_id", fileId))
.onSuccess(res2 -> {
JsonObject resJson2 = asJson(res2);
if (!resJson.getBoolean("state")) {
fail(FIRST_REQUEST_URL + " 解析错误: " + resJson);
if (!resJson2.getBoolean("state")) {
fail(FIRST_REQUEST_URL + " 解析错误: " + resJson2);
return;
}
// data.url.url
Expand Down

0 comments on commit 0b3c77d

Please sign in to comment.