'更新可用状态'

This commit is contained in:
zhangjie committed 2024-04-05 10:33:13 +08:00
1 parent dbe811f240
commit a5b9745a54
8 files changed
+7 -65

No files matched your search

@@ -66,7 +66,7 @@ public class MainActivity extends Activity {
private void initSpider() { private void initSpider() {
try { try {
Init.init(getApplicationContext()); Init.init(getApplicationContext());
spider = new Fpie2(); spider = new CaoLiu();
spider.init(this, ""); spider.init(this, "");
} catch (Throwable e) { } catch (Throwable e) {
e.printStackTrace(); e.printStackTrace();
@@ -92,7 +92,7 @@ public class MainActivity extends Activity {
public void categoryContent(){ public void categoryContent(){
try { try {
Logger.t("categoryContent").d(spider.categoryContent("探花", "1", true, new HashMap<>())); Logger.t("categoryContent").d(spider.categoryContent("57", "1", true, new HashMap<>()));
} catch (Throwable e) { } catch (Throwable e) {
e.printStackTrace(); e.printStackTrace();
} }
@@ -35,7 +35,7 @@ import javax.crypto.spec.SecretKeySpec;
public class CaoLiu extends Spider { public class CaoLiu extends Spider {
private static final String siteUrl = "https://www.cld296.top"; private static final String siteUrl = "https://cl2404af1f.top";
private static final String cateUrl = siteUrl + "/thread.php?fid="; private static final String cateUrl = siteUrl + "/thread.php?fid=";
private static final String detailUrl = siteUrl + "/video.php?tid="; private static final String detailUrl = siteUrl + "/video.php?tid=";
private static final String searchUrl = "https://api.3bmmjla.life/Api/getSearch"; private static final String searchUrl = "https://api.3bmmjla.life/Api/getSearch";
@@ -49,7 +49,7 @@ public class CaoLiu extends Spider {
private HashMap<String, String> getCookie() { private HashMap<String, String> getCookie() {
HashMap<String, String> headers = new HashMap<>(); HashMap<String, String> headers = new HashMap<>();
headers.put("User-Agent", Util.CHROME); headers.put("User-Agent", Util.CHROME);
headers.put("Cookie", "a2640_online=no; _gid=GA1.2.1938127140.1710303567; a2640_readlog=%2C2075561%2C; a2640_winduser=AFJWU1xdDT4EUldQAFAIBQlYCFJbBgdSWQ9WWAIAAgIAVwRZXAAAA20%3D; a2640_ck_info=%2F%09; a2640_appuser=DAUCUg5bDD0HVgYFVw9bUQlYBAUPB1VUWAxVXFNVVV1TAwRZUFdUAj8%3D; a2640_ol_offset=225119; a2640_threadlog=%2C2075561%2C47%2C; a2640_lastpos=other; _ga=GA1.1.745497893.1710303567; _ga_LQZNZ7TBVX=GS1.1.1710303566.1.1.1710305180.0.0.0; a2640_lastvisit=73%091710305199%09%2Fvideo.php%3Ftid%3D1948195; _ga_KCKJL9NRY7=GS1.1.1710303566.1.1.1710305199.0.0.0; _ga_QTT9CLMQSW=GS1.1.1710303566.1.1.1710305199.0.0.0; _ga_255J96M2SG=GS1.1.1710303566.1.1.1710305199.0.0.0"); headers.put("Cookie", "a2640_online=no; a2640_winduser=DgUBBFRQBDlUUQoAUwdVBwhWAgdSAVUCAgYCUFsGBwNWAQhXUwUABGs%3D; a2640_ck_info=%2F%09; a2640_appuser=DAQHUwBVDz1SUgIFAw4CBQFTAAZUVgEHCQIEU1MDVwoBAwFSUQQGUz8%3D; a2640_ol_offset=30153; a2640_lastpos=other; a2640_lastvisit=0%091712283620%09%2Fdomainjs.php%3Ftype%3D3%26t%3D094");
return headers; return headers;
} }
@@ -43,7 +43,6 @@ public class Init {
public static void init(Context context) { public static void init(Context context) {
get().app = ((Application) context); get().app = ((Application) context);
SpiderDebug.log("自定義爬蟲代碼載入成功!"); SpiderDebug.log("自定義爬蟲代碼載入成功!");
Toast.makeText(context, "免费脚本", Toast.LENGTH_SHORT).show();
} }
public static void execute(Runnable runnable) { public static void execute(Runnable runnable) {
@@ -26,7 +26,7 @@ import java.util.regex.Pattern;
public class MiMei extends Spider { public class MiMei extends Spider {
private static final String siteUrl = "https://infmbln.info"; private static final String siteUrl = "https://iayqotm.info";
private static final String cateUrl = siteUrl; private static final String cateUrl = siteUrl;
private static final String detailUrl = siteUrl; private static final String detailUrl = siteUrl;
private static final String searchUrl = "https://api.3bmmjla.life/Api/getSearch"; private static final String searchUrl = "https://api.3bmmjla.life/Api/getSearch";
@@ -28,7 +28,7 @@ import java.util.regex.Pattern;
public class W55Movie extends Spider { public class W55Movie extends Spider {
private static final String siteUrl = "https://5view.shop"; private static final String siteUrl = "https://5stag.shop";
private static final String cateUrl = siteUrl + "/index.php/api/vod"; private static final String cateUrl = siteUrl + "/index.php/api/vod";
private static final String detailUrl = siteUrl + "/voddetail/"; private static final String detailUrl = siteUrl + "/voddetail/";
private static final String playUrl = siteUrl + "/vodplay/"; private static final String playUrl = siteUrl + "/vodplay/";
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
fecec7675f16835c6a40fa1b657a773b 8c4c4de21d6f31e7c538e54dcd294cc3
-57
View File
@@ -114,22 +114,6 @@
"searchable": 0, "searchable": 0,
"filterable": 1 "filterable": 1
}, },
{
"key": "IQIYI",
"name": "愛奇藝 | 搜索",
"type": 4,
"api": "csp_IQIYI",
"searchable": 1,
"filterable": 1
},
{
"key": "MGTV",
"name": "芒果 | 视频",
"type": 4,
"api": "csp_MGTV",
"searchable": 0,
"filterable": 1
},
{ {
"key": "RouVideo", "key": "RouVideo",
"name": "肉视频 | 视频", "name": "肉视频 | 视频",
@@ -154,14 +138,6 @@
"searchable": 1, "searchable": 1,
"filterable": 1 "filterable": 1
}, },
{
"key": "Kanqiu",
"name": "88看球 | 比赛",
"type": 3,
"api": "csp_Kanqiu",
"searchable": 1,
"filterable": 1
},
{ {
"key": "Ying", "key": "Ying",
"name": "樱花动漫 | 动漫", "name": "樱花动漫 | 动漫",
@@ -178,31 +154,6 @@
"searchable": 1, "searchable": 1,
"filterable": 1 "filterable": 1
}, },
{
"key": "Dm84",
"name": "动漫巴士 | 动漫",
"type": 3,
"api": "csp_Dm84",
"searchable": 1,
"filterable": 1
},
{
"key": "Kugou",
"name": "酷狗 | 音乐",
"type": 3,
"api": "csp_Kugou",
"searchable": 1,
"filterable": 1
},
{
"key": "Eighteen",
"name": "18 | 视频",
"type": 3,
"api": "csp_Eighteen",
"searchable": 1,
"filterable": 1
},
{ {
"key": "FirstAid", "key": "FirstAid",
"name": "健康 | 视频", "name": "健康 | 视频",
@@ -211,14 +162,6 @@
"searchable": 1, "searchable": 1,
"filterable": 1 "filterable": 1
}, },
{
"key": "Bili",
"name": "B站 | 视频",
"type": 3,
"api": "csp_Bili",
"searchable": 1,
"filterable": 1
},
{ {
"key": "push_agent", "key": "push_agent",
"name": "推送", "name": "推送",