Update Bili.java
This commit is contained in:
parent
2f7216560a
commit
af90170b2e
|
|
@ -262,7 +262,7 @@ public class Bili extends Spider {
|
|||
}
|
||||
|
||||
private void getQRCode() {
|
||||
if (login || getUserCache().exists() && COOKIE.equals(cookie)) return;
|
||||
if (login) return;
|
||||
String json = OkHttp.string("https://passport.bilibili.com/x/passport-login/web/qrcode/generate?source=main-mini");
|
||||
Data data = Resp.objectFrom(json).getData();
|
||||
Init.run(() -> openApp(data));
|
||||
|
|
|
|||
Loading…
Reference in New Issue