add bili qrcode by tangsan
This commit is contained in:
parent
0b664bf018
commit
5e8b9e27ff
|
|
@ -9,6 +9,7 @@ import android.view.Gravity;
|
|||
import android.webkit.CookieManager;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.ImageView;
|
||||
|
||||
import com.github.catvod.bean.Class;
|
||||
import com.github.catvod.bean.Result;
|
||||
import com.github.catvod.bean.Vod;
|
||||
|
|
@ -195,7 +196,6 @@ public class Bili extends Spider {
|
|||
checkService();
|
||||
}
|
||||
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
||||
private void loadWebView() {
|
||||
CookieManager cookieManager = CookieManager.getInstance();
|
||||
|
|
@ -206,7 +206,7 @@ public class Bili extends Spider {
|
|||
OkHttp.stringNoRedirect(finalUrl, getHeaders(), respHeaderMap);
|
||||
cookie = "";
|
||||
for (String kk : Objects.requireNonNull(respHeaderMap.get("set-cookie"))) {
|
||||
cookie += kk.split(";")[0] + ";";
|
||||
cookie = cookie.concat(kk.split(";")[0] + ";");
|
||||
}
|
||||
Prefers.put("BiliCookie", cookie);
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a3a0ad16814a815fdad26b236cdd5a05
|
||||
5b77e550fc0e997d1c7ec4dc9eca695a
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a3a0ad16814a815fdad26b236cdd5a05",
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b77e550fc0e997d1c7ec4dc9eca695a",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a3a0ad16814a815fdad26b236cdd5a05",
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;5b77e550fc0e997d1c7ec4dc9eca695a",
|
||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue