pull/69/head
唐三 3 years ago
parent 668977779c
commit 824fc26fda
  1. 2
      app/src/main/java/com/github/catvod/spider/Bili.java

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

Loading…
Cancel
Save