Add files via upload

This commit is contained in:
n3rddd 2024-06-29 16:52:14 +08:00 committed by GitHub
parent b4236f522c
commit e24fb28922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 107 additions and 8 deletions

View File

@ -0,0 +1,18 @@
var rule = {
title: '36直播[密]',
host: 'http://api.hclyz.com:81',
homeUrl: '/mf/json.txt',
url: '/mf/fyclass',
class_name: '全部',
class_url: 'json.txt',
headers: {
'User-Agent': 'MOBILE_UA',
},
timeout: 5000,
limit: 200,
play_parse: true,
lazy: '',
一级: 'json:pingtai;title;xinimg;Number;address',
二级: 'js:var d=[];var jo=JSON.parse(request(input)).zhubo;VOD={};for(var i=0;i<jo.length;i++){d.push({title:jo[i].title,url:jo[i].address})}VOD.vod_play_from="播放源";VOD.vod_play_url=d.map(function(it){return it.title+"$"+it.url}).join("#");setResult(d);',
搜索: '*',
}

View File

@ -1,8 +1,9 @@
globalThis.searchphp = '';
var rule = {
title: "auete",
host: "https://auete.pro",
host: "https://auete.pro/",
hostJs: 'let html=request(HOST);searchphp=html.match(/form action="(.*?)"/)[1];',
url: "/fyclassfyfilter/indexfypage.html[/fyclassfyfilter/index.html]",
searchUrl: "/vodsearch/**----------fypage---.html",
searchable: 2,
quickSearch: 0,
filterable: 1,
@ -16,11 +17,9 @@ var rule = {
class_parse: ".navbar-nav&&li:lt(6);a&&Text;a&&href;.*/(.*?)/index",
cate_exclude: "发布|影讯",
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
lazy: 'js:eval(unescape(base64Decode("anM6CgkJcGRmaCA9IGpzcC5wZGZoOyBwZGZhID0ganNwLnBkZmE7IHBkID0ganNwLnBkOwoJCWxldCBkb2N1bWVudCA9IHt9OwoJCWxldCBuYXZpZ2F0b3IgPSB7CgkJCXVzZXJBZ2VudDogTU9CSUxFX1VBLAoJCX07CgkJbGV0IGJhc2U2NGRlY29kZSA9IGJhc2U2NERlY29kZTsKCQlsZXQgcG4gPSAnJywgbm93ID0gJ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dXJsLCBwYXJzZTowfQoJCX0=")))',
double: false,
推荐: "a.module-poster-item.module-item;.module-poster-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href",
推荐: "*",
一级: ".threadlist&&li;.title&&Text;.pic&&img&&src;.hdtag&&Text;a&&href",
二级: {
title: "meta[property]:eq(1)&&content;meta[property]:eq(4)&&content",
@ -33,6 +32,48 @@ var rule = {
list_text: "body&&Text",
list_url: "a&&href"
},
detailUrl: "",
搜索: "body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text"
searchUrl: '/auete2so.php?page=fypage&searchword=**',
搜索: `js:
let cookie = "";
let submit_url = "";
let html = "";
log("-----------------------------");
for (var i = 0; i < 2; i++) {
let yzm = HOST + "/include/vdimgck.php";
let html = request(yzm, {
withHeaders: true,
toBase64: true
}, true);
print(yzm);
let json = JSON.parse(html);
if (!cookie) {
let setCk = Object.keys(json).find(it => it.toLowerCase() === "set-cookie");
cookie = setCk ? json[setCk].split(";")[0] : "";
}
console.log("cookie:" + cookie);
let img = json.body;
html=post('https://api.nn.ci/ocr/b64/text',{body:img});
html=eval(html.slice(0,3));
print(html);
submit_url = HOST + searchphp +"?scheckAC=check&page=&searchtype=&order=&tid=&area=&year=&letter=&yuyan=&state=&money=&ver=&jq=" ;
fetch_params.headers["Cookie"]=cookie;
fetch_params.body ="validate="+ html+"&searchword="+KEY ;
html = post(submit_url, fetch_params);
if (html.indexOf(KEY)>0) {
log("********************");
let list = pdfa(html, ".card-body .media");
list.forEach(it => {
d.push({
title: pdfh(it, "a&&Text"),
desc: pdfh(it, ".text-grey&&Text"),
pic_url: pdfh(it, "a&&data-original"),
url: HOST+pdfh(it, "a&&href")
})
});
setResult(d);
break;
}
}`,
}

View File

@ -0,0 +1,40 @@
var rule = {
title: "路漫漫",
host: "https://m.lmm52.com",
url: "/vod/show/id/fyclassfyfilter.html",
searchUrl: "https://m.lmm52.com/vod/search/page/fypage/wd/**.html",
searchable: 2,
quickSearch: 0,
filterable: 1,
filter: "H4sIAAAAAAAAAO2Su04CURCG32XqNXu/wKsYitVsAlHRcEs2hISoECuJxqhRYqMFxkIKKFgLXoY9Lm/hHtB1mPqUU87//Tt7kvm6YEN5vwtHUQxlSBez1dcraFAPTyI8d8LjdrQp1mU8mKwvJjLOB+hp29QyLOc30+MobOibAFGbUhtTi1ILU5NSE1ODUgNRs0RoHiAaUBpg6lPqY+pR6mHqUuoWVDzPxMM75c6eWQryp1dkbXsRcX2bJqP/ixTz7kXEuJ8tb+TW++nf1oNYb9Xyj4p/jvvrj8dVkojpHepUa60m6WSfl+nVEHWah6eNnUXp29P3+SKbv6BS+0y+vKKBw0axUUqNctkoNkqpUR4bxUYpNcpno9gopUYFbBQbpdCo3g8SNsur7Q0AAA==",
filter_url: "{{fl.排序}}{{fl.年代}}/page/fypage",
filter_def: "",
headers: {
"User-Agent": "MOBILE_UA"
},
timeout: 5000,
class_name: "日本动漫&国产动漫&欧美动漫&日本动画电影&国产动画电影&欧美动画电影",
class_url: "6&7&8&3&4&5",
class_parse: "",
cate_exclude: "",
play_parse: true,
lazy: $js.toString(() => {
input = {parse: 1, url: input, js: ''};
}),
double: false,
推荐: "*",
一级: ".video-img-box;h6.title&&Text;.lazyload&&data-src;.label&&Text;a&&href",
二级: {
title: ".page-title&&Text;.tag-link&&Text",
img: ".module-item-pic&&.lazyload&&src",
desc: ".video-info-items:eq(3)&&Text;.video-info-items:eq(2)&&Text;;.video-info-items:eq(1)&&Text;.video-info-items:eq(0)&&Text",
content: ".video-info-content&&Text",
tabs: ".module-tab-item.tab-item",
lists: ".module-player-list:eq(#id) a",
tab_text: "body&&Text",
list_text: "body&&Text",
list_url: "a&&href"
},
detailUrl: "",
搜索: "*"
}