Clean code

This commit is contained in:
FongMi 2024-02-21 16:57:27 +08:00
parent d3ae4fec7a
commit 9c508e4841
3 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
package com.github.catvod.spider;
import android.content.Context;
import android.webkit.CookieManager;
import com.github.catvod.bean.Class;
import com.github.catvod.bean.Result;
@ -26,7 +25,6 @@ public class Eighteen extends Spider {
private void getCookie() {
try {
cookie = OkHttp.newCall("https://mjv002.com/zh/chinese_IamOverEighteenYearsOld/19/index.html").headers("set-cookie").get(0).split(";")[0];
CookieManager.getInstance().setCookie(url, cookie);
} catch (Exception e) {
e.printStackTrace();
}

Binary file not shown.

View File

@ -1 +1 @@
4e9c1cca038e839e892c969f1339709e
c9ca7c1293ba0af3ebbf0f84be1d5ba7