Update Alist.java

This commit is contained in:
FongMi 2022-09-13 00:58:44 +08:00
parent a243eab748
commit cbce81c7d0
1 changed files with 1 additions and 1 deletions

View File

@ -35,8 +35,8 @@ public class Alist extends Spider {
@Override
public void init(Context context, String extend) {
this.ext = new JSONObject();
try {
ext = new JSONObject();
if (extend.startsWith("http")) extend = OkHttpUtil.string(extend);
if (isJson(extend)) parseJson(extend);
else parseText(extend);