This commit is contained in:
唐三 2023-04-11 18:52:25 +08:00
parent e2428fce7c
commit 668977779c
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ 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");
} else { } else {
getCookie(); getCookie();