This commit is contained in:
GH Action - Upstream Sync 2023-09-27 12:31:46 +00:00
commit a9c9bd6fe1
5 changed files with 14 additions and 12 deletions

View File

@ -324,7 +324,7 @@ public class XPath extends Spider {
if (rule == null) { if (rule == null) {
if (ext != null) { if (ext != null) {
if (ext.startsWith("http")) { if (ext.startsWith("http")) {
String json = OkHttp.string(ext, null); String json = OkHttp.string(client(), ext, null);
rule = Rule.fromJson(json); rule = Rule.fromJson(json);
loadRuleExt(json); loadRuleExt(json);
} else { } else {
@ -340,6 +340,6 @@ public class XPath extends Spider {
protected String fetch(String webUrl) { protected String fetch(String webUrl) {
SpiderDebug.log(webUrl); SpiderDebug.log(webUrl);
return OkHttp.string(webUrl, getHeaders()); return OkHttp.string(client(), webUrl, getHeaders());
} }
} }

Binary file not shown.

View File

@ -1 +1 @@
08e60753eb29394b75c088e1f06dfb17 af5a163bf0ba899be92c5f44f3dde1d8

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;08e60753eb29394b75c088e1f06dfb17", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;af5a163bf0ba899be92c5f44f3dde1d8",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"sites": [ "sites": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;08e60753eb29394b75c088e1f06dfb17", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;af5a163bf0ba899be92c5f44f3dde1d8",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {
@ -298,16 +298,18 @@
"hosts": [ "hosts": [
"raw.githubusercontent.com", "raw.githubusercontent.com",
"googlevideo.com", "googlevideo.com",
"api.nivodz.com", "cdn.v82u1l.com",
"static.nivod.tv", "cdn.iz8qkg.com",
"cdn.kin6c1.com",
"c.biggggg.com", "c.biggggg.com",
"c.olddddd.com", "c.olddddd.com",
"haiwaikan.com",
"www.histar.tv", "www.histar.tv",
"yc.cdn.media.ulivetv.net", "youtube.com",
"vip.kuaikan-cdn3.com", "uhibo.com",
"aws.ulivetv.net", ".*boku.*",
"cdn.v82u1l.com", ".*nivod.*",
"cdn.iz8qkg.com" ".*ulivetv.*"
] ]
}, },
{ {