修复UpYun搜索

This commit is contained in:
qlql765 2024-01-14 15:17:06 +08:00 committed by GitHub
parent cf42d088ac
commit ca3dfb05a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -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");