Bili support ext cookie
This commit is contained in:
parent
2212d183f0
commit
c47bcec825
|
|
@ -81,11 +81,10 @@ public class Bili extends Spider {
|
|||
}
|
||||
|
||||
private void setCookie() {
|
||||
String config = extend.get("cookie").getAsString();
|
||||
if (config.startsWith("http")) config = OkHttp.string(config).trim();
|
||||
if (TextUtils.isEmpty(config)) config = COOKIE;
|
||||
cookie = FileUtil.read(getUserCache());
|
||||
cookie = cookie.isEmpty() ? config : cookie;
|
||||
cookie = extend.get("cookie").getAsString();
|
||||
if (cookie.startsWith("http")) cookie = OkHttp.string(cookie).trim();
|
||||
if (TextUtils.isEmpty(cookie)) cookie = FileUtil.read(getUserCache());
|
||||
if (TextUtils.isEmpty(cookie)) cookie = COOKIE;
|
||||
}
|
||||
|
||||
private List<Filter> getFilter() {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
d8e5ff04fdf6cd4ac3449cd6acc257ee
|
||||
6dc6afab6529c61d12fe9cd22aae56a3
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d8e5ff04fdf6cd4ac3449cd6acc257ee",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;6dc6afab6529c61d12fe9cd22aae56a3",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d8e5ff04fdf6cd4ac3449cd6acc257ee",
|
||||
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;6dc6afab6529c61d12fe9cd22aae56a3",
|
||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue