Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
2e01e18ede
|
|
@ -76,6 +76,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) {
|
||||||
cookie = ext.optString("cookie");
|
cookie = ext.optString("cookie");
|
||||||
|
if (cookie.startsWith("http")) cookie = OkHttp.string(cookie);
|
||||||
} else {
|
} else {
|
||||||
getCookie();
|
getCookie();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue