This commit is contained in:
唐三 2023-04-11 18:55:14 +08:00
parent 668977779c
commit 824fc26fda
1 changed files with 1 additions and 1 deletions

View File

@ -75,8 +75,8 @@ public class Bili extends Spider {
} }
ext = new JSONObject(extend); ext = new JSONObject(extend);
if (ext.optString("cookie").length() > 0) { if (ext.optString("cookie").length() > 0) {
if (ext.optString("cookie").startsWith("http")) cookie = OkHttp.string(ext.optString("cookie"));
cookie = ext.optString("cookie"); cookie = ext.optString("cookie");
if (cookie.startsWith("http")) cookie = OkHttp.string(cookie);
} else { } else {
getCookie(); getCookie();
} }