pull/78/head^2
FongMi 2 years ago
parent d3ae4fec7a
commit 9c508e4841
  1. 2
      app/src/main/java/com/github/catvod/spider/Eighteen.java
  2. BIN
      jar/custom_spider.jar
  3. 2
      jar/custom_spider.jar.md5

@ -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.

@ -1 +1 @@
4e9c1cca038e839e892c969f1339709e
c9ca7c1293ba0af3ebbf0f84be1d5ba7

Loading…
Cancel
Save