|
|
|
|
@ -1,6 +1,5 @@ |
|
|
|
|
package com.github.catvod.spider; |
|
|
|
|
|
|
|
|
|
import android.content.Context; |
|
|
|
|
import android.util.Base64; |
|
|
|
|
|
|
|
|
|
import com.github.catvod.bean.Result; |
|
|
|
|
@ -24,12 +23,6 @@ public class UpYun extends Ali { |
|
|
|
|
return header; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void init(Context context, String extend) throws Exception { |
|
|
|
|
JSONObject extendJson = new JSONObject(extend.startsWith("http") ? OkHttp.string(extend) : extend); |
|
|
|
|
super.init(context, extendJson.getString("aliCookie")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public String searchContent(String key, boolean quick) throws Exception { |
|
|
|
|
return searchContent(key, "1"); |
|
|
|
|
|