Update
This commit is contained in:
parent
8155ab5b20
commit
3631b093ac
|
|
@ -1,7 +1,6 @@
|
|||
package com.github.catvod.spider;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
|
||||
import com.github.catvod.bean.Class;
|
||||
import com.github.catvod.bean.Filter;
|
||||
|
|
@ -219,7 +218,6 @@ public class AList extends Spider {
|
|||
String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : "";
|
||||
String url = ext.get(key) + (v3(key) ? "/api/fs/get" : "/api/public/path");
|
||||
JSONObject params = new JSONObject();
|
||||
Log.e("DDD",path);
|
||||
params.put("path", path);
|
||||
String response = OkHttpUtil.postJson(url, params.toString());
|
||||
String json = v3(key) ? new JSONObject(response).getJSONObject("data").toString() : new JSONObject(response).getJSONObject("data").getJSONArray("files").getJSONObject(0).toString();
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
8365d8c8b8dd3a37ceef6dbb6bdf3b55
|
||||
1c966cffc8bda2bc28ede2c65a230f06
|
||||
|
|
|
|||
Loading…
Reference in New Issue